POST
Error

Authorizations

apikey
string
header
required

Your publishable (pb_pk_…) or secret (pb_sk_…) key.

Authorization
string
header
required

The signed-in person's access token.

Path Parameters

slug
string
required

Body

application/json
email
string
required

Who to invite.

role
string
default:member

The role they join with.

redirect_to
string | null

Where the link in the email should send the person afterwards. Must be an allowed redirect URL for this environment.

Response

Created. The body is the new object.

id
string
required

Unique identifier.

email
string<email>
required

Email address.

role
string
required
expires_at
string<date-time>
required

When it stops being valid.