Skip to main content
POST
/
auth
/
login
Login user
curl --request POST \
  --url https://api.sprucecollective.co.uk/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "password": "<string>",
  "site_id": "<string>"
}
'
{}
Using the API Playground: After logging in, copy the token from the response. Click the Authorize button at the top of the API playground and paste your token (format: Bearer <your_token>) to authenticate your requests.

Body

application/json

Login credentials

email
string
required
password
string
required
site_id
string

Response

OK

The response is of type object.