auth

Authenticate and obtain a bearer token

Changed on

Exchange your API key and a userId for a JWT bearer token.

post/v1/auth

Request

  • Base URL
    https://partners-api.thriveglobal.com
  • Auth
    API key in header x-api-key

Request body

userIdstring required

Identifier of the user the token is issued for. Must be a non-empty string.

Example request

{
  "userId": "thrive:developerPortalTest:1709740800"
}

Response

Authentication successful

Changes

    • breaking

      request body became required

    • breaking

      the request property became required

    • info

      added the non-success response with the status