One Time Password
Send a one-time password to a communication channel.
Sends a one-time password to the selected communication channel and returns a request ID used for verification. The password is valid for 1 hour by default and can only be used once. Use the request ID with POST /one-time-password/actions/verify to complete verification.
post/one-time-password/actions/send
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Request body
Example request
{
"external_application_id": "82de12eb8b138791e678fd11c3",
"communication_channel_id": 1,
"recipient": "happy_customer@crmcarecloud.com",
"otp_type": 2
}Response
OK
Example response
{
"data": {
"request_id": "c27c29917a1dec03ef0673d823619b776ab93353"
}
}