Getting API access

cURL request

The first thing you need to use the T-REX Servicing API is to retrieve an authentication token that will allow you to perform any operation once your account has been granted Token Agent role. To do so, simple call the signin endpoint.

curl --request POST \
  --url https://servicing-api-staging.tokeny.com/api/auth/signin \
  --header 'Content-Type: application/json' \
  --data '{"email":"[email protected]","password":"[email protected]$$word"}'

Response

{
    "token": "<jwt>"
}