SMS
Get full SMS provider configuration
Returns every supported SMS provider with its current configuration and enabled state for the org. Requires SUPERADMIN - the body includes raw credentials (Twilio/Sinch/TextGrid keys), so the route is gated. Each entry reports isConfigured (credentials present) and isEnabled (configured AND not explicitly disabled).
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Query Parameters
organizationId?string
SUPERADMIN-only override of the target organization.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/sms/providers/config"{ "activeProvider": "twilio", "providers": [ { "provider": "twilio", "isEnabled": true, "isConfigured": true, "twilioAccountSid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "twilioAuthToken": "••••••••••••••••••••••••••••••••", "twilioMessagingServiceSid": "MGxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }, { "provider": "sinch", "isEnabled": false, "isConfigured": false }, { "provider": "textgrid", "isEnabled": false, "isConfigured": false } ]}