curl --request GET \
--url https://{appid}.api-{region}.cometchat.io/v3/notifications/sms/v1/providers/twilio \
--header 'apikey: <api-key>'
{
"data": {
"twilioAccountSID": "AC91e67951ff7e5e7be8122184e76ae0e6=",
"twilioAuthToken": "71c2301435733997e83db7a3445bc57",
"twilioSenderPhoneNumber": "+13611364718"
}
}
Fetches the Twilio credentials stored for the app.
curl --request GET \
--url https://{appid}.api-{region}.cometchat.io/v3/notifications/sms/v1/providers/twilio \
--header 'apikey: <api-key>'
{
"data": {
"twilioAccountSID": "AC91e67951ff7e5e7be8122184e76ae0e6=",
"twilioAuthToken": "71c2301435733997e83db7a3445bc57",
"twilioSenderPhoneNumber": "+13611364718"
}
}
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
A list of push notification's settings
The response is of type object
.
Was this page helpful?