AuthTokens
Create an auth token
Audiences
AuthTokens
Brands
Inbound
Lists
Messages
Notifications
Profiles
Tenants
User Preferences
User Tenants
AuthTokens
Create an auth token
Returns a new access token.
POST
/
auth
/
issue-token
curl --request POST \
--url https://api.courier.com/auth/issue-token \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"scope": "<string>",
"expires_in": "<string>"
}'
{
"token": "<string>"
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
curl --request POST \
--url https://api.courier.com/auth/issue-token \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"scope": "<string>",
"expires_in": "<string>"
}'
{
"token": "<string>"
}