Skip to main content

AuthN User API Reference

Run In Postman

Username parameters

  • Non-email usernames have been implemented, so you may notice a username parameter which can be used instead of id or email in many of the API examples, including user, user/profile, and user/authenticators
  • email behaves the same as before, with the addition of being duplicated in the username field where necessary if not included in the request
  • Some choices expect an email value when need_email is returned, to ensure an email address (required) is defined when a non-email username is used in the request
post/v2/client/userinfo
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/client/userinfo' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Get User (client token)

POST
https://authn.aws.us.pangea.cloud/v2/client/userinfo

Retrieve the logged in user's token and information.

required parameters

string

Login code returned by the login callback

string

An ID for a login or signup flow

object

Pangea standard response schema

object

Credentials for a login session

object
string

A token value

string

An ID for a token

string

A token type

integer

A positive time duration in seconds

  • exclusiveMinimum: 0
string (date-time)

A time in ISO-8601 format

boolean
string

The identity of a user or a service

string
array<string>

A list of scopes

object

A user profile as a collection of string properties

string
string (date-time)

A time in ISO-8601 format

object

Intelligence Add-on Data

boolean
boolean
array,null<string>
string

An ID for a service account

object

claim object in the token

object
string

A token value

string

An ID for a token

string

A token type

integer

A positive time duration in seconds

  • exclusiveMinimum: 0
string (date-time)

A time in ISO-8601 format

boolean
string

The identity of a user or a service

string
array<string>

A list of scopes

object

A user profile as a collection of string properties

string
string (date-time)

A time in ISO-8601 format

object

Intelligence Add-on Data

boolean
boolean
array,null<string>
string

An ID for a service account

object

claim object in the token

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/client/password/change
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/client/password/change' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Change a user's password

POST
https://authn.aws.us.pangea.cloud/v2/client/password/change

Change a user's password given the current password.

required parameters

string

A user token value

string
string
object

Pangea standard response schema

object

An empty object

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/user/authenticators/delete
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/authenticators/delete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Delete user authenticator

POST
https://authn.aws.us.pangea.cloud/v2/user/authenticators/delete

Delete a user's authenticator.

required parameters

string

A username string, which can be used in place of an id or email in many cases.

string

An ID for an authenticator

object

Pangea standard response schema

object

An empty object

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/user/authenticators/list
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/authenticators/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Get user authenticators

POST
https://authn.aws.us.pangea.cloud/v2/user/authenticators/list

Get user's authenticators by identity or email.

required parameters

string

A username string, which can be used in place of an id or email in many cases.

object

Pangea standard response schema

object
array<object>

A list of authenticators

string

An ID for an authenticator

string

An authentication mechanism

string
string
string
boolean
string
string
string
string
string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/user/create
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/create' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Create User

POST
https://authn.aws.us.pangea.cloud/v2/user/create

Create a user.

required parameters

string

An email address; if not populated, certain calls may return a 'need_email' in the response.

object

A user profile as a collection of string properties

string
string

A username string, which can be used in place of an id or email in many cases.

object

Pangea standard response schema

object
string

The identity of a user or a service

string

A username string, which can be used in place of an id or email in many cases.

string

An email address; if not populated, certain calls may return a 'need_email' in the response.

string (phone-E164-format)

A phone number

object

A user profile as a collection of string properties

string
boolean

True if the user's email has been verified

boolean

True if the service administrator has disabled user account

boolean

True if the user account has been locked out

string

An ID for an agreement

string

An ID for an agreement

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

integer
string
string
string
array<object>

A list of authenticators

string

An ID for an authenticator

string

An authentication mechanism

string
string
string
boolean
string
string
string
string
string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/user/delete
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/delete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Delete User

POST
https://authn.aws.us.pangea.cloud/v2/user/delete

Delete a user.

required parameters

string

A username string, which can be used in place of an id or email in many cases.

object

Pangea standard response schema

object

An empty object

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/user/list
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


List Users

POST
https://authn.aws.us.pangea.cloud/v2/user/list

Look up users by scopes.

fields

object
string

Only records where metadata field equals this value.

array<string>

Only records where metadata field contains one of these substrings.

boolean

Only records where metadata field exists (true) or doesn't (false).

string

Only records where accepted_eula_id equals this value.

array<string>

Only records where accepted_eula_id includes each substring.

array<string>

Only records where accepted_eula_id equals one of the provided substrings.

string

Only records where accepted_privacy_policy_id equals this value.

array<string>

Only records where accepted_privacy_policy_id includes each substring.

array<string>

Only records where accepted_privacy_policy_id equals one of the provided substrings.

string (date-time)

Only records where created_at equals this value.

string (date-time)

Only records where created_at is greater than this value.

string (date-time)

Only records where created_at is greater than or equal to this value.

string (date-time)

Only records where created_at is less than this value.

string (date-time)

Only records where created_at is less than or equal to this value.

boolean

Only records where disabled equals this value.

string

Only records where email equals this value.

array<string>

Only records where email includes each substring.

array<string>

Only records where email equals one of the provided substrings.

string

Only records where username equals this value.

array<string>

Only records where username includes each substring.

array<string>

Only records where username equals one of the provided substrings.

string

Only records where id equals this value.

array<string>

Only records where id includes each substring.

array<string>

Only records where id equals one of the provided substrings.

string (date-time)

Only records where last_login_at equals this value.

string (date-time)

Only records where last_login_at is greater than this value.

string (date-time)

Only records where last_login_at is greater than or equal to this value.

string (date-time)

Only records where last_login_at is less than this value.

string (date-time)

Only records where last_login_at is less than or equal to this value.

string

Only records where last_login_ip equals this value.

array<string>

Only records where last_login_ip includes each substring.

array<string>

Only records where last_login_ip equals one of the provided substrings.

integer

Only records where login_count equals this value.

integer

Only records where login_count is greater than this value.

integer

Only records where login_count is greater than or equal to this value.

integer

Only records where login_count is less than to this value.

integer

Only records where login_count is less than or equal to this value.

boolean

Only records where require_mfa equals this value.

array<string>

A list of tags that all must be present.

boolean

Only records where verified equals this value.

string

Reflected value from a previous response to obtain the next page of results.

string

Order results asc(ending) or desc(ending).

string

Which field to order results by.

integer

Maximum results to include in the response.

  • minimum: 1
object

Pangea standard response schema

object
array<object>
string

The identity of a user or a service

string

A username string, which can be used in place of an id or email in many cases.

string

An email address; if not populated, certain calls may return a 'need_email' in the response.

string (phone-E164-format)

A phone number

object

A user profile as a collection of string properties

string
boolean

True if the user's email has been verified

boolean

True if the service administrator has disabled user account

boolean

True if the user account has been locked out

string

An ID for an agreement

string

An ID for an agreement

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

integer
string
string
string
array<object>

A list of authenticators

string

An ID for an authenticator

string

An authentication mechanism

string
string
string
boolean
string
string
string
string
string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

integer
string
string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/user/password/expire
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/password/expire' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Expire a user's password

POST
https://authn.aws.us.pangea.cloud/v2/user/password/expire

The next time the user logs in they must set a new password.

required parameters

string

The identity of a user or a service

object

Pangea standard response schema

object

An empty object

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/user/profile/get
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/profile/get' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Get user

POST
https://authn.aws.us.pangea.cloud/v2/user/profile/get

Get user's information by identity or email.

required parameters

string

A username string, which can be used in place of an id or email in many cases.

object

Pangea standard response schema

object
string

The identity of a user or a service

string

A username string, which can be used in place of an id or email in many cases.

string

An email address; if not populated, certain calls may return a 'need_email' in the response.

string (phone-E164-format)

A phone number

object

A user profile as a collection of string properties

string
boolean

True if the user's email has been verified

boolean

True if the service administrator has disabled user account

boolean

True if the user account has been locked out

string

An ID for an agreement

string

An ID for an agreement

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

integer
string
string
string
array<object>

A list of authenticators

string

An ID for an authenticator

string

An authentication mechanism

string
string
string
boolean
string
string
string
string
string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/user/profile/update
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/profile/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Update user

POST
https://authn.aws.us.pangea.cloud/v2/user/profile/update

Update user's information by identity or email.

required parameters

string

A username string, which can be used in place of an id or email in many cases.

object

Updates to a user profile

string, null

New value, or null to delete the existing value

object

Pangea standard response schema

object
string

The identity of a user or a service

string

A username string, which can be used in place of an id or email in many cases.

string

An email address; if not populated, certain calls may return a 'need_email' in the response.

string (phone-E164-format)

A phone number

object

A user profile as a collection of string properties

string
boolean

True if the user's email has been verified

boolean

True if the service administrator has disabled user account

boolean

True if the user account has been locked out

string

An ID for an agreement

string

An ID for an agreement

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

integer
string
string
string
array<object>

A list of authenticators

string

An ID for an authenticator

string

An authentication mechanism

string
string
string
boolean
string
string
string
string
string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/user/update
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/user/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Update user's settings

POST
https://authn.aws.us.pangea.cloud/v2/user/update

Update user's settings.

required parameters

string

A username string, which can be used in place of an id or email in many cases.

boolean

New disabled value. Disabling a user account will prevent them from logging in.

boolean

Unlock a user account if it has been locked out due to failed Authentication attempts.

object

Pangea standard response schema

object
string

The identity of a user or a service

string

A username string, which can be used in place of an id or email in many cases.

string

An email address; if not populated, certain calls may return a 'need_email' in the response.

string (phone-E164-format)

A phone number

object

A user profile as a collection of string properties

string
boolean

True if the user's email has been verified

boolean

True if the service administrator has disabled user account

boolean

True if the user account has been locked out

string

An ID for an agreement

string

An ID for an agreement

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

integer
string
string
string
array<object>

A list of authenticators

string

An ID for an authenticator

string

An authentication mechanism

string
string
string
boolean
string
string
string
string
string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/users/import
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/users/import' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Importing User

POST
https://authn.aws.us.pangea.cloud/v2/users/import

One time user import from a given source.

required parameters

string

Display name

string

An ID for a user import source id

array<object>

Schema for mapping source fields to Pangea fields

object

Schema for source field and type

string

The name of the field in the source system

string

The data type of the field in the source system

array<object>
string
string
object

Pangea field and its properties

string

The corresponding name of the field in Pangea

string

The accepted data types of the field in Pangea

boolean

Indicates if the field is required

boolean

Indicates if the field is profile or not

array<object>
string
string
object
integer (uint32)

The number of iterations over the memory.

  • maximum: 1,500,000
string

Salt

string

Order in which salt is applied

integer

Length of the generated key.

string

Algorithm used to generate the key.

integer (uint32)

The amount of memory (in KB) used by the algorithm.

  • maximum: 65,536
integer (uint8)

The number of threads used by the algorithm.

  • maximum: 4
integer (int)

scrypt block size parameter

  • maximum: 8
integer (int)

scrypt CPU/memory cost parameter. Must be a power of 2

string

base64 encoded salt separator required for firebase scrypt algorithm

string

base64 encoded private key which is required for firebase scrypt algorithm

string

type of hashing algorithm

object

Pangea standard response schema

object
string
string

An ID for a user import id

string

User import status

object
integer

total number of user record is processed from the given source

integer

count of successful imported users

integer

count of failed imported users

integer

count of existing user records, which was skipped during import

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

array<object>
string
string
string
string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/users/sources/upload
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/users/sources/upload' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: multipart/form-data'

Response


Upload a file to import users

POST
https://authn.aws.us.pangea.cloud/v2/users/sources/upload

Upload a file.

required parameters

object
string
(default: "multipart")

The transfer method used to upload the file data.

string
(default: "csv")

file type

object

Pangea standard response schema

object
object

The object that was created.

string

An ID for a user import source id

array<object>
string

The name of the field in the source system

string

The data type of the field in the source system

array<object>
string
string
array<object>
string

The corresponding name of the field in Pangea

string

The accepted data types of the field in Pangea

boolean

Indicates if the field is required

boolean

Indicates if the field is profile or not

array<object>
string
string
object
integer (uint32)

The number of iterations over the memory.

  • maximum: 1,500,000
string

Salt

string

Order in which salt is applied

integer

Length of the generated key.

string

Algorithm used to generate the key.

integer (uint32)

The amount of memory (in KB) used by the algorithm.

  • maximum: 65,536
integer (uint8)

The number of threads used by the algorithm.

  • maximum: 4
integer (int)

scrypt block size parameter

  • maximum: 8
integer (int)

scrypt CPU/memory cost parameter. Must be a power of 2

string

base64 encoded salt separator required for firebase scrypt algorithm

string

base64 encoded private key which is required for firebase scrypt algorithm

string

type of hashing algorithm

array<string>

List of supported password hashing algorithms

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/users/import/get
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/users/import/get' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Get user import data

POST
https://authn.aws.us.pangea.cloud/v2/users/import/get

Get user import details

required parameters

string

An ID for a user import id

boolean

Enable this option to retrieve detailed information about users whose import have failed. When set to true, the system will include comprehensive error details, such as the nature of the failure and the specific user data associated with the failure. This can be useful for debugging and auditing purposes.

boolean

Enable this option to retrieve detailed information about users whose import have skipped. When set to true, the system will include comprehensive error details, such as the nature of the failure and the specific user data associated with the failure. This can be useful for debugging and auditing purposes.

boolean

Enable this option to retrieve detailed information about users whose import have success. When set to true, the system will include comprehensive error details, such as the nature of the failure and the specific user data associated with the failure. This can be useful for debugging and auditing purposes.

object

Pangea standard response schema

object
string
string

An ID for a user import id

string

User import status

object
integer

total number of user record is processed from the given source

integer

count of successful imported users

integer

count of failed imported users

integer

count of existing user records, which was skipped during import

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

array<object>
string
string
string
string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

post/v2/users/import/list
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/users/import/list' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Listing user import

POST
https://authn.aws.us.pangea.cloud/v2/users/import/list

Lookup active or past user import data

fields

object
string (date-time)

Only records where created_at equals this value.

string (date-time)

Only records where created_at is greater than this value.

string (date-time)

Only records where created_at is greater than or equal to this value.

string (date-time)

Only records where created_at is less than this value.

string (date-time)

Only records where created_at is less than or equal to this value.

string

Only records where id equals this value.

array<string>

Only records where id includes each substring.

array<string>

Only records where id equals one of the provided substrings.

string

Only records where name equals this value.

array<string>

Only records where name includes each substring.

array<string>

Only records where name equals one of the provided substrings.

string (date-time)

Only records where updated_at equals this value.

string (date-time)

Only records where updated_at is greater than this value.

string (date-time)

Only records where updated_at is greater than or equal to this value.

string (date-time)

Only records where updated_at is less than this value.

string (date-time)

Only records where updated_at is less than or equal to this value.

string

Reflected value from a previous response to obtain the next page of results.

string

Order results asc(ending) or desc(ending).

string

Which field to order results by.

integer

Maximum results to include in the response.

  • minimum: 1
object

Pangea standard response schema

object
array<object>
string
string

An ID for a user import id

string

User import status

object
integer

total number of user record is processed from the given source

integer

count of successful imported users

integer

count of failed imported users

integer

count of existing user records, which was skipped during import

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

array<object>
string
string
string
string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

string (date-time)

A time in ISO-8601 format

integer
string
string

A unique identifier assigned to each request made to the API. It is used to track and identify a specific request and its associated data. The request_id can be helpful for troubleshooting, auditing, and tracing the flow of requests within the system. It allows users to reference and retrieve information related to a particular request, such as the response, parameters, and raw data associated with that specific request.

"request_id":"prq_x6fdiizbon6j3bsdvnpmwxsz2aan7fqd"
string

The timestamp indicates the exact moment when a request is made to the API. It represents the date and time at which the request was initiated by the client. The request_time is useful for tracking and analyzing the timing of requests, measuring response times, and monitoring performance metrics. It allows users to determine the duration between the request initiation and the corresponding response, aiding in the assessment of API performance and latency.

"request_time":"2022-09-21T17:24:33.105Z"
string

Duration it takes for the API to process a request and generate a response. It represents the elapsed time from when the request is received by the API to when the corresponding response is returned to the client.

"response_time":"2022-09-21T17:24:34.007Z"
string

It represents the status or outcome of the API request made for IP information. It indicates the current state or condition of the request and provides information on the success or failure of the request.

"status":"success"
string

Provides a concise and brief overview of the purpose or primary objective of the API endpoint. It serves as a high-level summary or description of the functionality or feature offered by the endpoint.

Was this article helpful?

Contact us