Request - Link
GLOBAL means system will randomize the channel to send or receive the message from or to the user. This approach will need the Global Token instead of Channel Token. The Request OTP Link endpoint enables users to obtain an authentication link for initiating a chat with a specified channel. When the user interacts with the link, the channel responds with a message, which may include another link or additional instructions. This endpoint also triggers a callback to a provided URL to verify whether the user’s prompt or phone number is correct, returning a success or failure status based on the validation.
Overview
This endpoint allows you to request a one-time password (OTP) link for global use. The OTP link can be used for authentication or verification purposes.
Request Parameters
The contact ID to send the OTP link to. Format: xxx@c.us
Expiration time in seconds. For example, 1800 seconds (30 minutes).
Application name that will be displayed to the user.
Response
Indicates whether the request was successful.
A message describing the result of the operation.
Error Codes
Authorization Exception - Occurs when the request is not properly authorized.
Validation Exception - Occurs when the request parameters fail validation.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Response
OtpLinkResource
The response is of type object
.