Skip to content

Invitations

העתקת עמוד

GET /api/v1/invites — the pending organization invitations addressed to the signed-in user, matched by user id or email. Requires the invites:read scope.

עודכן

The invitations endpoint lists the pending organization invitations addressed to the signed-in user — for example, an org inviting them to join as a member. It is user-delegated: authenticate with an OAuth access token carrying the invites:read scope.

Base: https://entrybit.net · Auth: Authorization: Bearer <access_token> · see Conventions.

List invitations

GET /api/v1/invites

Scope: invites:read. Returns invitations matched to the user by their user id or email (via a blind index), with pending status.

curl https://entrybit.net/api/v1/invites \
  -H "Authorization: Bearer $ACCESS_TOKEN"

Response

{
  "success": true,
  "invites": [
    {
      "id": 4210,
      "role": "member",
      "status": "pending",
      "created_at": "2026-07-08T09:15:00Z",
      "organization": "Acme Properties"
    }
  ]
}

The Invite object

FieldTypeNotes
idintegerInvitation id.
rolestring | nullThe role being offered.
statusstringAlways pending here.
created_atstring | nullISO 8601 timestamp.
organizationstring | nullThe inviting organization’s display name.

Errors

StatuserrorMeaning
401invalid_tokenMissing or invalid access token — refresh or re-login.
403insufficient_scopeThe token lacks invites:read.

See Errors for the full catalog. Accepting or declining an invitation happens in the EntryBit product UI — this endpoint is read-only.