Skip to content
Website API / Team

Invite someone

POSThttps://<your Reveata origin>/api/v1/websites/{website}/invites

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.

Try in playground

Request

Path parameters

websitestringrequired

Website id or domain, e.g. example.com

1–253 characters

Headers

Authorizationstringrequired

Bearer followed by an account token with the team:write scope.

Content-Typestringrequired

Send the body as JSON.

One of: application/json

Body fields

emailstringrequired
rolestringrequired

One 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

FieldTypeDescription
status"ok"
dataobject
data.idstring
data.siteIdstring
data.emailstring
data.rolestring
data.statusstring
data.invitedBystring
data.expiresAtstring (date-time)
data.createdAtstring (date-time)
data.lastSentAtstring (date-time)