curl --request POST \
--url https://api.sprucecollective.co.uk/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"password": "<string>",
"site_id": "<string>"
}
'{}Authenticate user with email and password
curl --request POST \
--url https://api.sprucecollective.co.uk/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"email": "<string>",
"password": "<string>",
"site_id": "<string>"
}
'{}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.