curl --location '/tokens' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"description": "string",
"scopes": [
"messages:send"
],
"expiresAt": "2019-08-24T14:15:22.123Z"
}'{
"token": {
"token_id": "string",
"name": "string",
"description": "string",
"scopes": [
"string"
],
"last_used_at": "2019-08-24T14:15:22.123Z",
"usage_count": 0,
"is_active": true,
"expires_at": "2019-08-24T14:15:22.123Z",
"created_at": "2019-08-24T14:15:22.123Z"
},
"secretToken": "string"
}