POST
/
user
/
token
cURL
curl --request POST \
  --url https://api.datalinks.com/api/v1/user/token \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "expires_at": "<string>",
  "name": "<string>"
}'
{
  "created_at": "<string>",
  "expires_at": "<string>",
  "id": 123,
  "last_used_at": "<string>",
  "name": "<string>",
  "token": "<string>"
}

Authorizations

Authorization
string
header
required

Use a Bearer token for authentication. Submit the token using the Authorization header: Authorization: Bearer <token>. The token can be generated in Settings

Body

application/json

Response

200 - application/json

Success

The response is of type object.