Skip to navigation

Third Authentication

View as Markdown

Authenticates a provider and returns a JWT token used to authorize subsequent API requests.

Send the provider’s email and password in the request body along with the x-api-key header. On success, the response includes a JWT token that must be passed as a Bearer token in all protected endpoints.

Headers

  • x-api-key: Your API key credential.

Body fields

  • email: The provider’s registered email address.
  • password: The provider’s account password.

Headers

x-api-keystringOptional

Request

This endpoint expects an object.
emailstringRequired
passwordstringRequired

Response headers

x-amzn-RequestIdstringOptional
Access-Control-Allow-OriginstringOptional
x-amz-apigw-idstringOptional
X-Amzn-Trace-IdstringOptional

Response

Created
idinteger
emailstringformat: "email"
tokenstring
refreshTokenstring
expiresAtdatetime