Skip to content

Reference

Org

The organization, its branding and settings, and the team.

View as Markdown

Every operation below is also in the OpenAPI document. One that names an MCP tool can be called through the MCP server; one that names none cannot.

Your org#

GET /v1/org

Operation id getOrg. MCP tool get_org. SDK tickets.org.retrieve.

The org: its name, branding (logo, accent, sender name), support contact and settings such as timezone and whether emails and texts go out.

Who may call it. Any one of: An API key with scope full, read. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has read (owner, admin, staff, viewer).

Answers 200. The org.

Fields (Org)

FieldTypeDescription
object *"org"
id *stringAn id starting with org_.
name *string
branding *BrandingWhat holders see: shown on ticket pages, My tickets, transfers, emails and Wallet passes.
support_email *string | nullWhere holders write with questions: shown on ticket pages, My tickets, the hosted checkout and every email footer, and the Reply-To of our emails. null: Reply-To is the first owner's member email and pages say "Reply to…
support_phone *string | nullA phone holders may call (E.164), shown beside support_email; null: none shown.
settings *object
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.

* required

Change the org's name, branding or settings#

PATCH /v1/org

Operation id updateOrg. MCP tool update_org (a signed-in member's agent only).

Changes the org's name, support contact, branding or settings. Send only the fields to change.

Who may call it. A signed-in dashboard member whose role has org.manage (owner, admin).

Request body (UpdateOrgInput)

FieldTypeDescription
namestring
support_emailstring | nullWhere holders write with questions: shown on ticket pages, My tickets, the hosted checkout and every email footer, and the Reply-To of our emails. null: Reply-To is the first owner's member email and pages say "Reply to…
support_phonestring | nullA phone holders may call (E.164), shown beside support_email; null: none shown.
brandingobjectThe logo is set by PUT /v1/org/logo (and removed by DELETE).
settingsobject
JSON
{
  "name": "YRD",
  "branding": {
    "accent": "#112233"
  },
  "settings": {
    "sms_daily_cap": 100
  }
}

Answers 200. Updated.

Fields (Org)

FieldTypeDescription
object *"org"
id *stringAn id starting with org_.
name *string
branding *BrandingWhat holders see: shown on ticket pages, My tickets, transfers, emails and Wallet passes.
support_email *string | nullWhere holders write with questions: shown on ticket pages, My tickets, the hosted checkout and every email footer, and the Reply-To of our emails. null: Reply-To is the first owner's member email and pages say "Reply to…
support_phone *string | nullA phone holders may call (E.164), shown beside support_email; null: none shown.
settings *object
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.

* required

PUT /v1/org/logo

Operation id uploadLogo. MCP tool upload_logo (a signed-in member's agent only).

Uploads the org's logo as base64 (PNG or SVG). We keep our own copy, and branding.logo_url points at it. Hosted ticket pages and emails use it. The example's data is cut short to read: send your whole file.

Who may call it. A signed-in dashboard member whose role has org.manage (owner, admin).

Request body (UploadLogoInput)

FieldTypeDescription
content_type *"image/png" | "image/svg+xml"
data *stringThe file, base64 (at most 256 KB).

* required

JSON
{
  "content_type": "image/png",
  "data": "iVBORw0KGgo="
}

Answers 200. Saved: branding.logo_url points at our copy.

Fields (Org)

FieldTypeDescription
object *"org"
id *stringAn id starting with org_.
name *string
branding *BrandingWhat holders see: shown on ticket pages, My tickets, transfers, emails and Wallet passes.
support_email *string | nullWhere holders write with questions: shown on ticket pages, My tickets, the hosted checkout and every email footer, and the Reply-To of our emails. null: Reply-To is the first owner's member email and pages say "Reply to…
support_phone *string | nullA phone holders may call (E.164), shown beside support_email; null: none shown.
settings *object
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.

* required

DELETE /v1/org/logo

Operation id deleteLogo. MCP tool delete_logo (a signed-in member's agent only).

Removes the org's logo. branding.logo_url becomes null and pages fall back to the org's name.

Who may call it. A signed-in dashboard member whose role has org.manage (owner, admin).

Answers 200. Removed: branding.logo_url is null.

Fields (Org)

FieldTypeDescription
object *"org"
id *stringAn id starting with org_.
name *string
branding *BrandingWhat holders see: shown on ticket pages, My tickets, transfers, emails and Wallet passes.
support_email *string | nullWhere holders write with questions: shown on ticket pages, My tickets, the hosted checkout and every email footer, and the Reply-To of our emails. null: Reply-To is the first owner's member email and pages say "Reply to…
support_phone *string | nullA phone holders may call (E.164), shown beside support_email; null: none shown.
settings *object
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.

* required

List the team#

GET /v1/members

Operation id listMembers. MCP tool list_members (a signed-in member's agent only).

The team: each member's name, email, role and notification choices, one page at a time.

Who may call it. A signed-in dashboard member whose role has read (owner, admin, staff, viewer).

ParameterInTypeDescription
limitqueryintegerHow many to return, 1 to 100 (default 20).
starting_afterquerystringAn id from the page before: the page after it.
ending_beforequerystringAn id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other…

Answers 200. A page of members.

Fields

FieldTypeDescription
object *"list"
data *array of MemberThis page, newest first.
has_more *booleanTrue when there is another page: pass the last id as starting_after.
url *"/v1/members"The path this list came from (/v1/members).

* required

Change a member's role or notifications#

PATCH /v1/members/{id}

Operation id updateMember. MCP tool update_member (a signed-in member's agent only).

Changes a member's role or notification choices, or a member's own name. Changing a role needs team.manage. Demoting someone out of keys.manage or webhooks.manage lists the keys and endpoints they made that keep working; name them in revoke_keys and pause_endpoints to turn them off in the same call.

Who may call it. A signed-in dashboard member of any role.

ParameterInTypeDescription
id *pathstringAn id starting with mem_.

Request body (UpdateMemberInput)

FieldTypeDescription
roleRoleowner and admin: everything (only an owner changes owners); staff: everything but keys, webhooks, team and money settings; door: check-in only; viewer: read only, with what opens the door or a holder's page null.
revoke_keysarray of stringWith a change of role: keys this person made to revoke in the same step.
pause_endpointsarray of stringWith a change of role: webhook endpoints this person made (or whose maker is unknown) to pause in the same step.
namestringA person's name as they write it.
notificationsobject
JSON
{
  "role": "door"
}

Answers 200. Updated. Changing a role needs team.manage; anyone may change their own name and notifications. A change out of keys.manage and webhooks.manage names what they made that stays, and takes revoke_keys and pause_endpoints.

Fields (MemberChanged)

FieldTypeDescription
object *"member"
id *stringAn id starting with mem_.
email *string (email)An email address.
name *string | null
role *Roleowner and admin: everything (only an owner changes owners); staff: everything but keys, webhooks, team and money settings; door: check-in only; viewer: read only, with what opens the door or a holder's page null.
notifications *object
joined_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
last_seen_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
api_keys_keptarray of ApiKeyKeptSet when a role change took away keys.manage: the keys they made that still work.
webhook_endpoints_keptarray of WebhookEndpointKeptSet when a role change took away webhooks.manage: the endpoints they made, or whose maker is unknown, that are still enabled.

* required

Errors of its own. last_owner. The errors every operation can answer are on the errors page.

Remove a member#

DELETE /v1/members/{id}

Operation id removeMember. MCP tool remove_member (a signed-in member's agent only).

Removes a member. Their sessions end at once. The keys and webhook endpoints they made keep working unless named in revoke_keys and pause_endpoints, and the answer lists those that stay. An org keeps at least one owner (last_owner).

Who may call it. A signed-in dashboard member whose role has team.manage (owner, admin).

ParameterInTypeDescription
id *pathstringAn id starting with mem_.
revoke_keysquerystringIds of keys this person made to revoke in the same step, comma separated, at most 100.
pause_endpointsquerystringIds of webhook endpoints this person made (or whose maker is unknown) to pause in the same step, comma separated, at most 32.

Answers 200. Removed. Their sessions end at once; the keys they made keep working unless named in revoke_keys and the endpoints they made keep receiving events unless named in pause_endpoints, and the answer lists those that stay.

Fields (MemberRemoved)

FieldTypeDescription
object *"member"
id *stringAn id starting with mem_.
deleted *true
api_keys_kept *array of ApiKeyKeptThe keys they made that still work: not revoked and not past a roll's grace.
webhook_endpoints_kept *array of WebhookEndpointKeptThe endpoints they made, or whose maker is unknown, that are still enabled and go on receiving events.

* required

Errors of its own. last_owner. The errors every operation can answer are on the errors page.

A member's connected apps (owners only)#

GET /v1/members/{id}/connections

Operation id listMemberConnections.

What a member has connected through OAuth, for an owner of this org. Connections belong to the person, so last_used_at spans all their orgs. An admin is refused.

Who may call it. A signed-in dashboard member whose role has team.manage (owner, admin).

ParameterInTypeDescription
id *pathstringAn id starting with mem_.
limitqueryintegerHow many to return, 1 to 100 (default 20).
starting_afterquerystringAn id from the page before: the page after it.
ending_beforequerystringAn id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other…

Answers 200. The connections that still work, each saying whether it was ended here.

Fields

FieldTypeDescription
object *"list"
data *array of MemberConnectionThis page, newest first.
has_more *booleanTrue when there is another page: pass the last id as starting_after.
url *stringThe path this list came from (/v1/members/{id}/connections).

* required

End a member's connection in this org (owners only)#

DELETE /v1/members/{id}/connections/{connection}

Operation id endMemberConnection.

Stops one of a member's connections from reaching this org, at once, and writes it on the audit trail. The connection goes on working in the person's other orgs, which are not this owner's to end. Removing the member ends all of it here too. Takes effect on the next tool call.

Who may call it. A signed-in dashboard member whose role has team.manage (owner, admin).

ParameterInTypeDescription
id *pathstringAn id starting with mem_.
connection *pathstring

Answers 200. It can no longer reach this org. Ending it again changes nothing.

Fields (MemberConnection)

FieldTypeDescription
object *"member_connection"
id *stringThe connection (ogr_...).
client_name *stringWhat the app called itself when it registered: unverified.
scope *"read" | "full"
connected_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
last_used_at *string | nullAcross every org this person belongs to.
ends_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
ended_here *booleanTrue once an owner of this org has ended it here: it can no longer reach this org. Other orgs of the person are their own.

* required

List open invites#

GET /v1/invites

Operation id listInvites. MCP tool list_invites (a signed-in member's agent only).

Invites that have been made and not yet accepted or revoked, with the role each was made for.

Who may call it. A signed-in dashboard member whose role has team.manage (owner, admin).

ParameterInTypeDescription
limitqueryintegerHow many to return, 1 to 100 (default 20).
starting_afterquerystringAn id from the page before: the page after it.
ending_beforequerystringAn id from the page after: the page before it. A list read from the database offers it as the list comes and filtered by event alone, in the default order, and answers parameter_invalid to any other…

Answers 200. A page of invites.

Fields

FieldTypeDescription
object *"list"
data *array of InviteThis page, newest first.
has_more *booleanTrue when there is another page: pass the last id as starting_after.
url *"/v1/invites"The path this list came from (/v1/invites).

* required

Invite someone by email#

POST /v1/invites

Operation id createInvite. MCP tool create_invite (a signed-in member's agent only).

Invites someone, with the role they will have. We email them a link, in test mode too, and the link is in this answer only: a repeat with the same Idempotency-Key answers the invite with url: null, and mails nothing. It is no sign-in: they still need a code sent to that address. Inviting someone already on the team answers member_exists.

Who may call it. A signed-in dashboard member whose role has team.manage (owner, admin).

Request body (CreateInviteInput)

FieldTypeDescription
email *string (email)An email address.
role *Roleowner and admin: everything (only an owner changes owners); staff: everything but keys, webhooks, team and money settings; door: check-in only; viewer: read only, with what opens the door or a holder's page null.

* required

JSON
{
  "email": "new@example.com",
  "role": "viewer"
}

Answers 201. The invite, with its link (shown once).

Fields (Invite)

FieldTypeDescription
object *"invite"
id *stringAn id starting with inv_.
email *string (email)An email address.
role *Roleowner and admin: everything (only an owner changes owners); staff: everything but keys, webhooks, team and money settings; door: check-in only; viewer: read only, with what opens the door or a holder's page null.
url *string | nullThe invite link: only in the answer that made it. A repeat of that call answers null.
created_by *stringAn id starting with mem_.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
expires_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
accepted_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
revoked_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.

* required

Errors of its own. member_exists. The errors every operation can answer are on the errors page.

Revoke an invite#

DELETE /v1/invites/{id}

Operation id revokeInvite. MCP tool revoke_invite (a signed-in member's agent only).

Cancels an open invite so its link stops working. An invite already accepted is a member now: remove the member instead.

Who may call it. A signed-in dashboard member whose role has team.manage (owner, admin).

ParameterInTypeDescription
id *pathstringAn id starting with inv_.

Answers 200. Revoked.

Fields (Invite)

FieldTypeDescription
object *"invite"
id *stringAn id starting with inv_.
email *string (email)An email address.
role *Roleowner and admin: everything (only an owner changes owners); staff: everything but keys, webhooks, team and money settings; door: check-in only; viewer: read only, with what opens the door or a holder's page null.
url *string | nullThe invite link: only in the answer that made it. A repeat of that call answers null.
created_by *stringAn id starting with mem_.
created_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
expires_at *string (date-time)An instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
accepted_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.
revoked_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.

* required

Join an org from an invite link#

POST /v1/invites/accept

Operation id acceptInvite.

Joins the org an invite link was made for. The session then acts in that org.

Who may call it. A signed-in dashboard member of any role.

Request body (AcceptInviteInput)

FieldTypeDescription
token *string

* required

JSON
{
  "token": "abcdefghijklmnop"
}

Answers 200. Joined; the session is now on that org.

Fields (Session)

FieldTypeDescription
object *"session"
member *MemberA person on the team. Signs in by an emailed code or link; there are no passwords.
org *OrgAn organization: the account. It holds both modes; every other record belongs to one of them.
orgs *array of objectEvery org this person belongs to.
created_org *booleanTrue when this sign-in made a new org (the first sign-in of a new address).
expires_at *string (date-time)When the session ends if unused (7 days idle).
mode"test" | "live"The mode the dashboard acts in. Sent only where live mode exists (production); absent means test.
live_availablebooleanTrue where this organization may switch the dashboard to live mode (production, and the org cleared for live). Absent means no.

* required

Errors of its own. invite_invalid. The errors every operation can answer are on the errors page.