Skip to the page

API reference

Invitations

The invitations waiting to be accepted.

GET Invitations sent from a workspace

/api/clist/v1/workspaces/{workspaceId}/invitations

API key scope: workspace.manage_members

Pending, accepted, revoked and expired invitations, newest first. Restricted to owners and admins: unlike Groups, an invitation carries the email of someone who is not yet a member.

Parameters

NameInTypeRequiredDescription
workspaceIdpathstring (uuid)yes

Responses

  • 200 application/json
    • invitations array of object required
      • id string (uuid) required
      • email string required
      • role one of: "owner", "admin", "member" required
      • status one of: "pending", "accepted", "revoked", "expired" required
      • group_ids array of string (uuid) required Custom Groups the invitee joins on acceptance.
      • invited_by string (uuid) required
      • created_at string (date-time) required UTC instant (ISO 8601, ending in Z). Nothing in the API is a local time.
      • expires_at string (date-time) required UTC instant (ISO 8601, ending in Z). Nothing in the API is a local time.

Errors come in the error format.