v2

latestOpenAPI 3.1.02026-07-312303692.4 MB
Authentication

Create Cmg Token

Create a new access token that only allows creating messages inside this application.

post/api/v1/auth/app/{app_id}/create-message-token

Path parameters

app_idstring required

The Application's ID or UID.

Example:unique-identifier

The Application's ID or UID.

Headers

idempotency-keystring

The request's idempotency key

Request body

namestring required

The name of the token.

expiryinteger nullable

How long the token will be valid for, in seconds.

Response

tokenstring required
idstring required
namestring nullable
createdAtstring date-time required
expiresAtstring date-time nullable
scopesstring[] nullable