Status Codes

All response codes

Status Codes

All success responses retrieved to you like below

{
"success": true,
"data": []
}

All error responses retrieved like below

{
"success": false,
"code": -3,
"error": "Something went wrong"
}

Status

Reason

HTTP status

-1

Data not found

404

-2

Unprocessable Entity

422

-3

Something went wrong in server

502

-4

Duplicate data

409