📄Submit OTP

Submit the generated OTP for user verification.


Submit the Generated OTP.

Drawing
API: - https://matar.in.ngrok.io/api/v1/login

Params

Body Parameter ⬇️

Body Parameter
Data Type
Description

phone_number (required)

String

Phone Number for sending OTP. Add 91 before your number.

name (required)

String

Name for Account Login.

action (required)

String

Provide action name which is 'send_otp'

otp (required)

String

Provide the received OTP on your mobile number. This is generated from Login API endpoint.


Sample Request ⬇️ (Body Parameter)

Responses ⬇️

Status Code: 🟢200 (200 denotes 'ok')

Status Code: 🔴400 (400 denotes 'Bad request')

Response Parameters Description:

The access token requests secure access to the Matar resources whereas a refresh token just helps you re-validate a user without them having to re-enter their login credentials multiple times.

Access token expiry period: 10 days.

Refresh token expiry period: 60 days.

Last updated