Organizations

List Invitations

List pending invitations for the active organization.

get/v1/orgs/invites

Request

  • Base URL: https://api.fettle.sh (the document declares no server; this is the origin it was published from)
  • URL: https://api.fettle.sh/v1/orgs/invites
  • Auth: API key in header Authorization

Headers

X-Organization-Idstring uuid nullable

Response

Successful Response

idstring uuid required
emailstring email required
role'OWNER' | 'ADMIN' | 'MEMBER' | 'VIEWER' required

Membership role of a user within an organization.

Distinct from the dormant global UserRole (account-level template seam). OWNER ⊇ ADMIN plus exclusive actions (delete org, transfer ownership); those exclusive endpoints are enforced in A2. MEMBER = operational CRUD; VIEWER = read-only. Member name == value (UPPER) to match the project enum convention and the persisted DB labels.

status'PENDING' | 'ACCEPTED' | 'REVOKED' | 'EXPIRED' required

Lifecycle of an organization invitation.

PENDING — sent, awaiting acceptance. ACCEPTED — redeemed into a membership. REVOKED — cancelled by an admin. EXPIRED — TTL elapsed before acceptance. Member name == value (UPPER) to match the persisted DB labels.

expires_atstring date-time required

Changes

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