Skip to content

Invites

List invites

GET/v1/workspaces/{workspaceId}/invites

The workspace's pending invites, newest first. A member limited to some brands doesn't manage invites, so for them the list is empty.

Path parameters

  • workspaceIdstringrequired

    The workspace's id. An API key can only use its own workspace.

Response

A list of objects.

  • idstringrequired
  • emailstringrequired

    The invited email address. Only this address can accept the invite.

  • acceptUrlstringrequired

    The link in the invite email. Only the invited address can accept it.

  • expiresAtnumberrequired

    When the link stops working, in milliseconds since the epoch.

  • createdAtnumberrequired

    When the invite was sent, in milliseconds since the epoch.

  • invitedByone of 2required

    Who sent the invite, a person or an API key.

    Show 2 options
    • kind: "user"

      • kind"user"required
      • userIdstringrequired
    • kind: "apiKey"

      • kind"apiKey"required
      • apiKeyIdstringrequired
  • expiredbooleanrequired

    True once expiresAt has passed and the link no longer works. Resending the invite sends a fresh one.

Errors answer with a status and the error shape.