API ReferenceSettings
Configure Twilio
Add or update Twilio credentials for an organization.
Authorization
sessionAuth AuthorizationBearer <token>
NextAuth session token
In: header
Path Parameters
orgId*string
Format
uuidRequest Body
application/json
accountSid*string
Twilio Account SID
authToken*string
Twilio Auth Token
testConnection?boolean
Test the connection before saving
Default
falseResponse Body
application/json
curl -X POST "https://platform.autophone.org/api/organizations/497f6eca-6276-4993-bfeb-53cbbbba6f08/settings/twilio" \ -H "Content-Type: application/json" \ -d '{ "accountSid": "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "authToken": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "testConnection": true }'{
"success": true,
"credentials": {
"id": "string"
}
}Empty
Empty
Empty