Skip to main content

Application Management

Register, retrieve, list, and delete WebRTC calling applications.


Register Application​

Create a new WebRTC calling application.

Endpoint​

POST https://integrationscore.mum1.exotel.com/v2/integrations/app

Headers​

HeaderValue
AuthorizationBearer token (entity=customer)
Content-Typeapplication/json

Request Parameters​

ParameterRequiredTypeDescription
AppNameYesStringName for the application
ExotelAccountSidYesStringYour Exotel Account SID from the dashboard
ExotelApiKeyYesStringYour Exotel API key from the dashboard
ExotelApiTokenYesStringYour Exotel API token from the dashboard
ExotelDomainYesStringRegion domain: "mumbai" or "singapore"
IsActiveYesBooleanSet to true to enable the app for calling

Code Examples​

curl --location --request POST 'https://integrationscore.mum1.exotel.com/v2/integrations/app' \
--header 'Authorization: NmUxNGIyN2ItY2YzYy00MzRhLThlNzItYWNjMWFiNWQzY2Vi' \
--header 'Content-Type: application/json' \
--data-raw '{
"AppName": "WebRTC",
"ExotelAccountSid": "exoteldemo",
"ExotelApiKey": "your_api_key",
"ExotelApiToken": "your_api_token",
"ExotelDomain": "mumbai",
"IsActive": true
}'

Response​

{
"RequestId": "2405acfd-1ad3-486b-92d5-233965d8c204",
"Status": "Success",
"Code": 200,
"Error": "",
"Data": {
"AppID": "2e6440ed-ff62-49d7-bb00-5494b313a863",
"AppSecret": "61b1f4c2-30d5-4819-9a5c-006ed9784313",
"CustomerID": "99fa98a1-2ce0-457c-9371-0d3a01eb6ef0",
"AppName": "WebRTC",
"ExotelAccountSid": "exoteldemo",
"ExotelApiKey": "your_api_key",
"ExotelApiToken": "your_api_token",
"ExotelDomain": "mumbai",
"IsActive": true,
"CreatedAt": "2023-03-23T11:47:46+05:30",
"UpdatedAt": "2023-03-23T11:47:46+05:30"
}
}
note

Save the AppID and AppSecret from the response. You will need them to generate an app-level authentication token.


Get Application Details​

Retrieve details of a specific application using an app-level token.

Endpoint​

GET https://integrationscore.mum1.exotel.com/v2/integrations/app?entity=app

Headers​

HeaderValue
AuthorizationBearer token (entity=app)

Code Examples​

curl --location --request GET 'https://integrationscore.mum1.exotel.com/v2/integrations/app?entity=app' \
--header 'Authorization: <app_auth_token>'

Response​

{
"RequestId": "c0897a32-372e-4f82-ac18-eaa2d3451d52",
"Status": "Success",
"Code": 200,
"Error": "",
"Data": {
"AppID": "2e6440ed-ff62-49d7-bb00-5494b313a863",
"CustomerID": "99fa98a1-2ce0-457c-9371-0d3a01eb6ef0",
"AppName": "WebRTC",
"ExotelAccountSid": "exoteldemo",
"ExotelDomain": "mumbai",
"IsActive": true,
"CreatedAt": "2023-03-23T11:47:46+05:30",
"UpdatedAt": "2023-03-23T11:47:46+05:30"
}
}

List All Applications​

List all applications registered under a customer.

Endpoint​

GET https://integrationscore.mum1.exotel.com/v2/integrations/app?entity=customer

Headers​

HeaderValue
AuthorizationBearer token (entity=customer)

Code Examples​

curl --location --request GET 'https://integrationscore.mum1.exotel.com/v2/integrations/app?entity=customer' \
--header 'Authorization: <customer_auth_token>'

Response​

{
"RequestId": "1b13a16a-ad03-443e-83e7-0bb1b9297578",
"Status": "Success",
"Code": 200,
"Error": "",
"Data": [
{
"AppID": "2e6440ed-ff62-49d7-bb00-5494b313a863",
"CustomerID": "99fa98a1-2ce0-457c-9371-0d3a01eb6ef0",
"AppName": "WebRTC",
"ExotelAccountSid": "exoteldemo",
"ExotelDomain": "mumbai",
"IsActive": true,
"CreatedAt": "2023-03-23T11:47:46+05:30",
"UpdatedAt": "2023-03-23T11:47:46+05:30"
}
]
}

Delete Application​

Delete a registered application. This action is irreversible.

Endpoint​

DELETE https://integrationscore.mum1.exotel.com/v2/integrations/app

Headers​

HeaderValue
AuthorizationBearer token (entity=app)

Code Examples​

curl --location --request DELETE 'https://integrationscore.mum1.exotel.com/v2/integrations/app' \
--header 'Authorization: <app_auth_token>'

Response​

{
"RequestId": "0e8beb2c-5682-4718-a4ba-b3b7aa2d3c72",
"Status": "Success",
"Code": 200,
"Error": "",
"Data": "Deleted Successfully"
}

Response Fields​

FieldTypeDescription
AppIDString (UUID)Unique application identifier
AppSecretString (UUID)Application secret (only returned on creation)
CustomerIDString (UUID)Parent customer identifier
AppNameStringApplication display name
ExotelAccountSidStringLinked Exotel account SID
ExotelApiKeyStringLinked API key (only on creation)
ExotelApiTokenStringLinked API token (only on creation)
ExotelDomainStringRegion: "mumbai" or "singapore"
IsActiveBooleanWhether the app is active for calling
CreatedAtDateTimeCreation timestamp (ISO 8601)
UpdatedAtDateTimeLast update timestamp (ISO 8601)

Try It​