Authentication

Use these APIs to create your user account and get bearer token

auth_img

Create User

post

Creates a New User

Body
usernamestringOptionalExample: gandalf_the_grey
passwordstringOptionalExample: i_love_hobbits
first_namestringOptionalExample: Gandalf
last_namestringOptionalExample: Grey
emailstringOptionalExample: [email protected]
mobile_numberintegerOptionalExample: 9999999999
profilestring · binaryOptional
Responses
200

Successful response

application/json
post
/api/v1/user/create/

Get Auth. Token

post

Generates an access token for your account.
You'll need the access token for subsequent APIs

Body
usernamestringOptionalExample: gandalf_the_grey
passwordstringOptionalExample: i_love_hobbits
Responses
200

Successful response

application/json
post
/api/token/

Get User

get

API to get your user account details.

Use your access_token as Bearer Auth Token to get these details

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

Successful response

application/json
get
/api/v1/user/get/

Last updated