Skip to main content
⭐️ If you love EverShop, give it a star on GitHub. Thanks!

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
POST/user/login
curl
-H "Accept: application/json"
https://<your domain>/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
GET/user/logout
curl
-H "Accept: application/json"
https://<your domain>/user/logout
Sample Of Response
{
"data": {}
}