Generate access token

📘

NOTE:

Select regional availability. This feature is currently available for customers with end users in select countries. To find out if this feature is available in your region, contact a Telesign expert. This product is available for full-service accounts only.

Use this endpoint to generate an access token to interact securely with Flow Builder and other Protect Platform services.The FlowBuilder API requires an external authentication service that issues an access token upon successful validation of an API Key.

Send credentials via Basic Auth ("Authorization: Basic ...") together with "x-API-key". After you send a POST request to the authentication service with the required credentials,the service returns a Bearer token, which must be included in the Authorization header of all subsequent API requests in the Flow Builder to ensure secure access. If your access token expires, you must re-authenticate using this endpoint to obtain a new token. Include the accessToken in the Authorization header of every API request for authentication and authorization.

General requirements

  • Authentication: [Basic]
  • Encoding: Accepts only UTF-8 unicode characters as inputs.
  • Accepts: application/json
  • Responds with: application/json
  • Required headers:
    • Content-Type: application/json
    • x-API-key: [YOUR_API_KEY_HERE]
Language
Click Try It! to start a request and see the response here!