POST
/
auth
/
v1
/
initiate
/
oauth
curl --request POST \
  --url https://auth.otpless.app/auth/v1/initiate/oauth \
  --header 'Content-Type: application/json' \
  --header 'clientId: <api-key>' \
  --header 'clientSecret: <api-key>' \
  --data '{
  "channel": "WHATSAPP",
  "redirectURI": "your://redirecturi"
}'
{
  "requestId": "unique_request_id",
  "link": "https://otpless.me/e3r3"
}

Authorizations

clientId
string
header
required
clientSecret
string
header
required

Body

application/json

Response

200
application/json

OAuth link generated successfully.

The response is of type object.