Skip to main content
POST
/
api
/
sms
/
providers
/
active
Set active SMS provider
curl --request POST \
  --url https://your-instance.example.com/api/sms/providers/active \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "provider": "twilio"
}
'
{
  "success": true,
  "message": "twilio SMS configuration saved"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
provider
enum<string>
required

SMS provider to activate: sinch, twilio, or textgrid.

Available options:
twilio,
sinch,
textgrid
Example:

"twilio"

Response

Active SMS provider set

Shared response for save / set-active / delete operations.

success
enum<boolean>
required
Available options:
true
message
string

Human-readable confirmation (e.g. "twilio SMS configuration saved").