The invite object

⚠️
Preview — this feature is being built; the design below is the spec.

The invite object as the API returns it. Every field below appears in every response that returns this object; fields with no value are null rather than missing.

Example

{
  "id": "invite_01JCD3F5H7K9M1P3R5T7",
  "type": "invite",
  "email": "sam@example.com",
  "role": "developer",
  "workspaces": [
    {
      "workspace_id": "wrkspc_01JC0A2C4E6G8J0L2N4Q",
      "role": "workspace_developer"
    }
  ],
  "status": "pending",
  "invited_by": {
    "id": "user_01J9X8Z6B4D2F0H8K6M4",
    "email": "ops@example.com"
  },
  "created_at": "2026-11-05T10:00:00Z",
  "expires_at": "2026-11-12T10:00:00Z",
  "accepted_at": null
}

Fields

FieldTypeDescription
idstringUnique id of this object.
typestringThe object type, always invite.
emailstringEmail address.
rolestringRole name.
workspacesarrayNested detail; see the endpoint pages below.
statusstringpending, accepted, expired or canceled.
invited_byobjectNested detail; see the endpoint pages below.
created_atstringWhen it was created, RFC 3339 UTC (some older objects use Unix seconds).
expires_atstringSeven days after creation or the latest resend.
accepted_atstring or nullSee the endpoint pages below.

Returned by

Was this page helpful?