Skip to main content

AuthN Flow API Reference

Run In Postman

note

Username parameters

  • Non-email usernames have been implemented, so you may notice username and username_format parameters in relevant API endpoints
  • email behaves the same as before, with the addition of being duplicated in the username field where necessary if not included in the request
  • In some calls such as flow/start and flow/update, the email parameter only returns when username_format is set to email
  • Some choices (e.g., verify_email, email_otp, magiclink) 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/token/check
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/client/token/check' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Check a token

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

Look up a token and return its contents.

required parameters

string

A token value

object

Pangea standard response schema

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/flow/complete
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/flow/complete' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Complete sign-up/sign-in

POST
https://authn.aws.us.pangea.cloud/v2/flow/complete

Complete a sign-up or sign-in flow.

required parameters

string

An ID for a login or signup flow

string
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/flow/restart
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/flow/restart' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Restart a sign-up/sign-in flow

POST
https://authn.aws.us.pangea.cloud/v2/flow/restart

Restart a sign-up/sign-in flow choice.

required parameters

string

An ID for a login or signup flow

string

Flow Choice

object

An empty object

object

Pangea standard response schema

object
string

An ID for a login or signup flow

array<string>

A list of flow types

string

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

string
string

Signin/Signup Phase

string

Flow Choice

object
object
object

A EULA

string

An agreement type

string

An ID for an agreement

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
string
boolean
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/flow/start
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/flow/start' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Start a sign-up/sign-in flow

POST
https://authn.aws.us.pangea.cloud/v2/flow/start

Start a new sign-up or sign-in flow.

fields

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 (http-url)

A login callback URI

array<string>

A list of flow types

string

A one-time ticket

string

A one-time ticket

string

An ID for a service account

string

A list of space separated scope

object

Pangea standard response schema

object
string

An ID for a login or signup flow

array<string>

A list of flow types

string

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

string
string

Signin/Signup Phase

string

Flow Choice

object
object
object

A EULA

string

An agreement type

string

An ID for an agreement

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
string
boolean
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/flow/update
curl -sSLX POST 'https://authn.aws.us.pangea.cloud/v2/flow/update' \
-H 'Authorization: Bearer <your_token>' \
-H 'Content-Type: application/json' \
-d '{}'

Response


Update a sign-up/sign-in flow

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

Update a sign-up/sign-in flow.

required parameters

string

An ID for a login or signup flow

string

Flow Choice

object
object

Pangea standard response schema

object
string

An ID for a login or signup flow

array<string>

A list of flow types

string

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

string
string

Signin/Signup Phase

string

Flow Choice

object
object
object

A EULA

string

An agreement type

string

An ID for an agreement

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
string
boolean
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