v1

latestOpenAPI 3.0.32026-08-04404186.8 KB
Authentication

Request a new access token

The Cable API uses API keys to authenticate requests. Make sure never to share your API keys - don’t put them in repositories or leave them as human-readable in code, and always use HTTPS.

Request a new access token to authenticate requests to the API. The token will expire after the specified time. To request an access token you must use the refresh / auth token provided to you by Cable. You cannot request a new token with an existing access token.

post/v2/auth/token

Request body

expiry_secondsinteger required

The requested expiration time in seconds for the token. Must be between 300 (5 minutes) and 86400 (24 hours).

Response

Token created successfully

expiryinteger required

The expiration time in Unix time format.

organization_idstring required

The organization ID for which the token was requested.

organization_namestring required

The name of the organization for which the token was requested.

tokenstring required