Creates an authentication token for the specified entity - customer or app. The token can be used to authenticate future requests to the integrations platform. The entity id and secret are required to create the token.
https://integrationscore.mum1.exotel.com/v2/integrations/token
You can use our official postman collection to try out the APIs.
The following are the POST parameters:
| Parameter Name | Mandatory/Optional | Description | 
| Id | Mandatory | Id of the entity - customer/app | 
| Secret | Mandatory | Secret of the entity - customer/app | 
| Entity | Mandatory | Entity - customer/app | 
Note that token generated will get expired after 90 days.
curl --location --request POST 'https://integrationscore.mum1.exotel.com/v2/integrations/token' \
--header 'Content-Type: application/json' \
--data-raw '{
"Id": {{id}},
"Secret": {{secret}},
"Entity": "customer/app"
}'
                    { "RequestId": "f4f76061-3c01-410e-be49-55a17049cf35", "Status": "Success", "Code": 200, "Error": "", "Data": "OTlmYTk4YTEtMmNlMC00NTdjLTkzNzEtMGQzYTAxZWI2ZWYw" }
The status codes are as follows -
| Status Code | Description | 
| 200 | Token created successfully. | 
| 400 | Bad request. Check the input parameters. | 
| 401 | Unauthorized. Check the entity id and secret. | 
| 500 | Internal server error. There was an issue creating the token. |