Authentication

APIs related to Login and Registration

Login (email)

POST https://multiply.arbre.in/api/login

This endpoint allows you to authenticate a user using email

Headers

Name
Type
Description

Accept

string

application/json

Request Body

Name
Type
Description

type

string

email

email

string

email of user

password

string

password of user

{
    "status": true,
    "accessToken": "2|eiSgXjGLzJgWDWEpOrQP9Zz70cFvYRS5LGcVrAde"
}

login (otp)

POST https://multiply.arbre.in/api/login

This endpoint allows you to authenticate a user using email

Headers

Name
Type
Description

Accept

string

application/json

Request Body

Name
Type
Description

type

string

otp

phone_number

string

phone number of user

Register

POST https://multiply.arbre.in/api/register

This endpoint will create a user from given data and also generate an OTP to verify valid phone number.

Headers

Name
Type
Description

Accept

string

application/json

Request Body

Name
Type
Description

terms

integer

1

name

string

full name

dob

string

yyyy-mm-dd

gender

string

male/female/prefer not to say

email

string

unique email

phone_number

string

unique phone number

Verify OTP

POST https://multiply.arbre.in/api/verify-otp

This endpoint will allow you to validate an OTP for a given phone number

Headers

Name
Type
Description

Accept

string

application/json

Request Body

Name
Type
Description

phone_number

string

user's phone number

otp

string

OTP entered by the user

Last updated