Getting API access

cURL request

To leverage the T-REX Servicing API, you will first need to retrieve an authentication token that will allow you to perform any operation. As our APIs are role based, you will need to make sure to have an authentication token corresponding to an account with the proper rights to call it. Please refer to our guide on permissions and roles. For example, an agent account will not be able to call investor endpoints.

For the Servicing API, in the testing environment, call the following signin endpoint:

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

Response

{
    "token": "<jwt>"
}