Okta Admin Management API
/Customizations
/- Send a test message from a custom telephony provider
Custom Telephony Provider
List all custom telephony providers
Create a custom telephony provider
Retrieve a custom telephony provider
Update a custom telephony provider credential
Delete a custom telephony provider
Activate a custom telephony provider
Deactivate a custom telephony provider
Set a custom telephony provider as a primary telephony provider
Send a test message from...
Identity Engine
OAuth 2.0 scope:
- okta.customTelephonyProvider.manage
Sends a test message (SMS or call) using the specified custom telephony provider to verify that the provider is configured correctly.
You must provide a valid phone number and country code to send the test message. Send it to a phone number that you have access to so you can confirm that the message was received.
The country code for the phone number. Use the Alpha-2 code from ISO 3166-1 for country codes.
- https://subdomain.okta.comhttps://subdomain.okta.com/api/v1/telephony-providers/{customTelephonyProviderId}/test
curl -i -X POST \
'https://subdomain.okta.com/api/v1/telephony-providers/{customTelephonyProviderId}/test' \
-H 'Content-Type: application/json' \
-d '{
"factor": "SMS",
"phoneNumber": "+1234567890",
"countryCodeIso2": "US"
}'