Create an account session using OTP

This API endpoint creates an access token from the authentication server once the OTP is verified.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Successful response payload data

Parameter nameData typeDescription
accessTokenstringThe user's access-token to access Setel's API.
refreshTokenstringThe token to refresh the session without re-entering credentials.
expiresInintegerThe remaining time (in seconds) before the accessToken expires.
distinctIdstringThe mixpanel distinct_id associated with the user.
sessionStatestringThe session ID of the payment.
scopestringThe permission granted by the user.
Body Params
string
required

The user's phone number. E.g. +60123456789

Headers
string
required

The OTP Token issued by the authentication server.

string
required

The phone token issued by authentication server.

Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json