Team

Invite a teammate (MANAGER or STAFF)

Creates a PENDING RestaurantInvitation and sends the invite email. Idempotent per (restaurant_id, email) — re-inviting rotates the token and resets the expiry. Scope: team:write.

post/api/v1/team

Request

  • Base URL: https://www.gerezi.com
  • URL: https://www.gerezi.com/api/v1/team
  • Auth: HTTP bearer

Request body

emailstring email required
role'MANAGER' | 'STAFF' required
restaurant_idstring

Required when called with an org-level key.

Response

Invitation created

Example response

{
  "data": {
    "status": "PENDING"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.