POST /auth/guest

Will create a guest user to use the API and return the token

Headers

  • X-Popsell-Domain string Required

    The domain of the user

Responses

POST /auth/guest
curl \
 --request POST 'https://domain.tld/api/v2/auth/guest' \
 --header "X-Popsell-Domain: example.com"
Response examples (200)
{
  "token": "string"
}
Response examples (401)
{
  "message": "Unauthorized."
}
{
  "message": "Invalid email or password"
}