Skip to main content

User API

Use the REST API to interact with EverShop users.

Login

Use this endpoint login a user.

Request Schema (application/json)
Field NameField TypeRequired
emailstringYes
passwordstringYes
POSTadmin/user/login
curl
-H "Accept: application/json"
https://<your domain>admin/user/login
Sample Of Response
{
"data": {
"sid": "auxzei_bEdRGT-HwfACmq7D5XyHf2l5M"
}
}

Logout

Use this endpoint to logout a user.

Request Schema (application/json)
No request body required
GETadmin/user/logout
curl
-H "Accept: application/json"
https://<your domain>admin/user/logout
Sample Of Response
{
"data": {}
}