testSiteWlanTwilioSetup
Allows validation of twilio setup In case of success, a text message confirming successful setup should be received. In case of error, twilio error code and message are returned.
Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header.
Format:
Authorization: Token {apitoken}
Notes:
- An API token generated for a specific admin has the same privileges as that admin
- An API token is automatically removed if it is not used for more than 90 days
- SSO admins cannot generate admin API tokens. Use organization API tokens when scoped Org/Site privileges are needed.
In: header
Request Body
application/json
Request Body
Request body for validating Twilio SMS gateway credentials
One of the numbers you have in your Twilio account
Phone number of the recipient of SMS
Twilio Auth Token used to send the test SMS
Twilio account SID used to send the test SMS
Response Body
curl -X POST "https://example.com/api/v1/utils/test_twilio" \ -H "Content-Type: application/json" \ -d '{ "from": "+185051234567", "to": "+19999999999", "twilio_auth_token": "2135be04736a1a0a314bce432d61721a", "twilio_sid": "AC5f4366878d193fb4865ab151739999eb" }'testSiteWlanTelstraSetup POST
Allows validation of Telstra sms gateway credentials. In case of success, a text message confirming successful setup should be received. In case of error, telstra error message are returned.
unauthorizeSiteMultipleClients POST
This unauthorize clients (if they are guest) and disconnect them. From the guest’s perspective, they will see the splash page again and go through the flow (e.g. Terms of Use) again.