Exchange a sign-in link token for a bearer token

​

Consumes the login token from the emailed link and returns a 30-day bearer token. Native clients keep the token in the keychain; nothing is set as a cookie.

Body

required
application/json

Responses

  • application/json
  • application/json
  • application/json
Request Example for post/auth/confirm
curl https://api.weddingoperatingsystems.com/api/v1/auth/confirm \
  --request POST \
  --header 'Content-Type: application/json' \
  --data '{
  "token": ""
}'
{
  "token": "string",
  "expiresAt": "2026-09-30T06:22:05.745Z",
  "user": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "email": "hello@example.com",
    "name": "string",
    "roles": [
      "string"
    ]
  }
}