API Structure
The host URL of the APIs is as follows
Environment | Host URL |
---|---|
Staging | https://api.staging.trential.app |
Production | https://api.trential.app |
Request
Use all the APIs with API Key authentication and Content-Type: application/json
in the request header.
Response
All repsonses are of the following format. All the request specific data goes in the data
key. For more details check out API Docs
{
"code": 0,
"message": "string",
"data": {}
}