POST
/
auth
/
v1
/
initiate
/
oauth

This API is accessible exclusively to users subscribed to the OTPless Pro plan. Ensure you have an active OTPless Pro Plan subscription to utilize this feature.

Authorizations

clientId
string
headerrequired
clientSecret
string
headerrequired

Body

application/json
channel
enum<string>
required

The channel for which the OAuth request link will be created.

Available options:
WHATSAPP,
TWITTER,
GOOGLE,
APPLE,
LINKEDIN,
MICROSOFT,
FACEBOOK,
INSTAGRAM,
LINE,
SLACK,
DROPBOX,
GITHUB,
BITBUCKET,
ATLASSIAN,
LINEAR,
GITLAB,
TIKTOK,
TWITCH,
TELEGRAM,
HUBSPOT,
NOTION,
BOX,
XERO
redirectURI
string
required

The URI to which the user will be redirected after authentication.

Response

200 - application/json
requestId
string

The unique identifier for the OAuth request.

link
string

The OAuth link generated for authentication.