site-controller

Invite an email with no account yet

Becomes a real grant on that person's first verified sign-in.

post/api/sites/{slug}/invites

Request

  • Base URL: https://api.pagegoat.com
  • URL: https://api.pagegoat.com/api/sites/{slug}/invites
  • Auth: HTTP bearer

Path parameters

slugstring required

Request body

emailstring required
role'viewer' | 'commenter' | 'admin' required

Example request

{
  "email": "reviewer@example.com",
  "role": "commenter"
}

Response

The pending invitation.

Changes

No recorded changes to this operation across all 1 revision of this API.