Invite people by email
POST/ v1/ orgs/ {org}/ invites
Up to 50 emails, with a role, a group or both. An earlier pending invite to the same email is replaced. Invites last 7 days.
Path parameters
org
The organization's id (
org_…).Body
emails
role
A built-in role key or a custom role id.
group_id
Responses
The invites sent.
data
Role is a built-in role key or a custom role id.
Show 11 fieldsHide fields
id
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).org_id
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).email
role
group_id
status
pendingexpiredinvited_by_id
A prefixed ULID; the prefix names the kind (
prj_… a project, org_… an organization).expires_at
A time in UTC, ISO 8601.
created_at
A time in UTC, ISO 8601.
org_name
org_slug
next_cursor
Example response
1{2"data": [3{4"id": "inv_01JD8Q2M4W9XK3T7B5",5"org_id": "org_01JD8Q2M4W9XK3T7B5",6"email": "ada@example.com",7"role": "rol_01JD8Q2M4W9XK3T7B5",8"group_id": "grp_01JD8Q2M4W9XK3T7B5",9"status": "pending",10"invited_by_id": "id_01JD8Q2M4W9XK3T7B5",11"expires_at": "2026-11-21T09:30:00Z",12"created_at": "2026-11-21T09:30:00Z",13"org_name": "string",14"org_slug": "string"15}16],17"next_cursor": "string"18}
Errors
Every error has the same shape: error.code, a message for people and details.
| Status | Code |
|---|---|
already_member | |
member_limit | |
company_emails_only | |
owner_required | |
validation_error |