SMS
Set active SMS provider
Switches the organization's active SMS provider. The provider must already be configured (POST /api/sms/providers/config first), otherwise 400. Requires SUPERADMIN.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/sms/providers/active" \ -H "Content-Type: application/json" \ -d '{ "provider": "twilio" }'{ "success": true, "message": "twilio SMS configuration saved"}