testSiteWlanTwilioSetup
POST https://{{host}}/api/v1/utils/test_twilio
Test Twilio Setup
Body Parameters
| Parameter | Type | Description |
|---|---|---|
| twilio_sid | string | Twilio Account SID |
| twilioauthtoken | string | Auth Token associated with twilio account |
| from | string | One of the numbers you have in your Twilio account |
| to | string | Phone number of the recipient of SMS |
In case of success, a text message confirming successful setup should be received. In case of error, twilio error code and message are returned.
Request Body
{"twilio_sid"=>"AC5f4366878d193fb4865ab151739999eb", "twilio_auth_token"=>"2135be04736a1a0a314bce432d61721a", "from"=>"+185051234567", "to"=>"+19999999999"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string | ||
X-CSRFToken | string | ||
Content-Type | string |