Invite someone
Emails an invitation (viewer, editor or admin) from the token owner. Inviting the same email again refreshes the pending invite. A new person takes a seat on the owner’s plan. Needs the admin role; at most 50 invites per website per hour.
Related: List members and Change a member’s role in Team.
Request
Path parameters
websitestringrequiredWebsite id or domain, e.g. example.com
1–253 characters
Headers
AuthorizationstringrequiredBearer followed by an account token with the team:write scope.
Content-TypestringrequiredSend the body as JSON.
One of: application/json
Body fields
emailstringrequiredrolestringrequiredOne of: viewer, editor, admin
Response
The invite.
{
"status": "string",
"data": {
"id": "string",
"siteId": "string",
"email": "string",
"role": "viewer",
"status": "pending",
"invitedBy": "string",
"expiresAt": "2026-01-01T00:00:00.000Z",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastSentAt": "2026-01-01T00:00:00.000Z"
}
}Response fields
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object | |
| data.id | string | |
| data.siteId | string | |
| data.email | string | |
| data.role | string | |
| data.status | string | |
| data.invitedBy | string | |
| data.expiresAt | string (date-time) | |
| data.createdAt | string (date-time) | |
| data.lastSentAt | string (date-time) |