Skip to main content

Add Twilio SMS Provider

POST 

https://$CUSTOM-DOMAIN/admin/v1/sms/twilio

Configure a new SMS provider of the type Twilio. A provider has to be activated to be able to send notifications.

Request​

Body

required

    sid stringrequired

    Possible values: non-empty and <= 200 characters

    token stringrequired

    Possible values: non-empty and <= 200 characters

    senderNumber string

    Possible values: <= 200 characters

    description string

    Possible values: <= 200 characters

    verifyServiceSid string

    Possible values: <= 200 characters

Responses​

A successful response.

Schema

    details

    object

    sequence uint64

    on read: the sequence of the last event reduced by the projection

    on manipulation: the timestamp of the event(s) added by the manipulation

    creationDate date-time

    on read: the timestamp of the first event of the object

    on create: the timestamp of the event(s) added by the manipulation

    changeDate date-time

    on read: the timestamp of the last event reduced by the projection

    on manipulation: the

    resourceOwner resource_owner is the organization an object belongs to (string)
    id string
curl -L 'https://$CUSTOM-DOMAIN/admin/v1/sms/twilio' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"sid": "AB123b9e61d238abae7d3be7b65ecbc987",
"token": "string",
"senderNumber": "AB123b9e61d238abae7d3be7b65ecbc987",
"description": "provider description",
"verifyServiceSid": "AB123b9e61d238abae7d3be7b65ecbc987"
}'
Request Collapse all
Base URL
https://$CUSTOM-DOMAIN/admin/v1
Auth
Body required
{
  "sid": "AB123b9e61d238abae7d3be7b65ecbc987",
  "token": "string",
  "senderNumber": "AB123b9e61d238abae7d3be7b65ecbc987",
  "description": "provider description",
  "verifyServiceSid": "AB123b9e61d238abae7d3be7b65ecbc987"
}
ResponseClear

Click the Send API Request button above and see the response here!