REST API Documentation

REST API Documentation

Base URI

http://api.webapi.com
API Methods
POST /signup
POST /signin
signup
POST /signup

This api is used to create new user.

Request body

Object
user_fname
string
Example:
user first name
user_lname
string
Example:
user last name
profile_picture
string
Example:
base 64 image string
device_token
string
Example:
device token for the push notification

Responses

200 OK
Body
Object
status
string
Example:
success
message
string
Example:
user details saved
access_token
string
Example:
system generated unique id
signin
POST /signin

This api is used for user login

Request body

Object
user_email
string
Example:
user email
user_password
string
Example:
user password

Responses

200 OK
Body
Object
user_id
string
Example:
user id
user_email
string
Example:
user email
access_token
string
Example:
system generated unique id