Access Tokens

Create an Access Token.

Changed on

Create an Access Token (JWT) for the credential.

post/telephony_credentials/{id}/token

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/telephony_credentials/{id}/token
  • Auth: HTTP bearer

Path parameters

idstring required

Identifies the resource.

Headers

Idempotency-Keystring

Unique key for safely retrying the same logical request. Generate a UUID v4 for each operation and reuse it only when retrying that operation with the same request body. Valid characters: A-Z, a-z, 0-9, -, and _. Length: 1-255 characters. Do not include sensitive data in the key.

Response

JWT

Changes

    • info

      added the new optional header request parameter Idempotency-Key

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status