Create a guest user to use the API
Will create a guest user to use the API and return the token
Headers
-
The domain of the user
POST /auth/guest
curl \
-X POST https://domain.tld/api/v2/auth/guest \
-H "X-Popsell-Domain: example.com"
Response examples (200)
{
"token": "string"
}
Response examples (401)
Unauthorized (generated)
{
"message": "Unauthorized."
}
{
"message": "Invalid email or password"
}
Response examples (422)
{
"message": "field is required! (and 3 more error)",
"errors": {
"field": [
"Error message details here"
],
"additionalProperty1": [
"Error message details here"
],
"additionalProperty2": [
"Error message details here"
]
}
}