Retrieves details of the customer associated with the provided Authorization (token) using entity as "customer".
https://integrationscore.mum1.exotel.com/v2/integrations/customer
You can use our official postman collection to try out the APIs.
Description of the request parameter:
Parameter |
Type |
Required |
Description |
Authorization |
String |
Yes |
Token provided by https://integrationscore.mum1.exotel.com/v2/integrations/token. using entity=customer |
curl --location --request GET 'https://integrationscore.mum1.exotel.com/v2/integrations/customer' \ --header 'Authorization: {{AuthCode}}'
{ "RequestId": "01906552-dd91-4359-a184-739870991fa9", "Status": "Success", "Code": 200, "Error": "", "Data": { "CustomerID": "99fa98a1-2ce0-457c-9371-0d3a01eb6ef0", "CustomerSecret": "5b8215f7-8595-42c0-9b63-404bcc474f94", "CustomerName": "Temp Name", "Email": "temp.mail@company.in", "CustomerSetting": null, "CreatedAt": "2023-03-23T09:36:26+05:30", "UpdatedAt": "2023-03-23T09:36:26+05:30", "DeletedAt": false } }
Status code are as follows-
Status Code |
Description |
200 |
Request successful. Customer details retrieved. |
401 |
Unauthorized. Check the entity id and secret. |
500 |
Internal server error. There was an issue getting the customer. |
This API allows a customer to be deleted by passing the Authorization (token) in the request Header. Once deleted this action cannot be reversed.
https://integrationscore.mum1.exotel.com/v2/integrations/customer
You can use our official postman collection to try out the APIs.
The following are the parameter details :
Parameter |
Type |
Required |
Description |
Authorization |
String |
Yes |
Token provided by https://integrationscore.mum1.exotel.com/v2/integrations/token entity=customer |
curl --location --request DELETE 'https://integrationscore.mum1.exotel.com/v2/integrations/customer' \ --header 'Authorization: {{AuthCode}}'
{ "RequestId": "f940efa6-349e-45e1-a298-de24f9a6e1a5", "Status": "Success", "Code": 200, "Error": "", "Data": "Deleted Successfully" }
Status code are as follows-
Status Code |
Description |
200 |
Customer deleted successfully. |
401 |
Unauthorized. Check the entity id and secret. |
500 |
Internal server error. There was an issue deleting the customer. |