POST
/
frontend
/
api
/
v1
/
auth
/
sign-in
curl --request POST \
  --url https://{host}/frontend/api/v1/auth/sign-in \
  --header 'Content-Type: application/json' \
  --data '{
  "current-user": null,
  "email": "jsmith@example.com",
  "logout-other": false,
  "long-term-token": true,
  "password": "<string>",
  "ret-url": null
}'
{
  "api-token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "current-user": null,
  "email": "<string>",
  "jwt-token": {
    "expire": "2024-11-01T16:39:02Z",
    "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.zzzzzzzzzzzzzzzzzzz-zzzzzzzzzzzzzzzzzzzzzzz"
  },
  "oauth-provider-tokens": [
    {
      "provider": "<string>",
      "token": "<string>"
    }
  ],
  "ret-url": null,
  "status": "anonymous",
  "user-id": 1
}

Body

Response

200 - application/json

OK

The response is of type object.