Get a user invitation by its hash token

Public endpoint — retrieves invitation details by hash token without authentication, allowing an invitee to view the invitation before accepting. Returns 404 if already accepted.

Query Parameters
  • hash
    Type: string
    required

    Invitation hash

Responses
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/user/invitation/hash
curl 'https://test.boost.space/api/user/invitation/hash?hash=' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "id": 42,
  "email": "user@example.com",
  "role": "user",
  "hash": "string",
  "created": "2026-01-15T09:30:00Z",
  "accepted": 1,
  "teams": [
    1
  ],
  "categories": [
    1
  ]
}