Getting API access

Using the right API URL to manage your data

Choosing the URL

The following table displays the base URL you need to use depending on the environment your token is deployed on

EnvironmentBase URL
Testing (sandbox)
Production (live)

Depending on the module you need to call, you need to suffix with:

ModuleSuffixExample in testing

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 \
  --header 'Content-Type: application/json' \
  --data '{"email":"[email protected]","password":"MyP@$$word"}'


    "token": "<jwt>"