Invite User

POST

Invite a user by email address

Path parameters

site_idstringRequired

Unique identifier for a Site

Headers

Accept-VersionstringOptional

The API version

Request

This endpoint expects an object.
emailstringRequired

Email address of user to send invite to

accessGroupslist of stringsOptional

An array of access group slugs. Access groups are assigned to the user as type admin and the user remains in the group until removed.

Response

Request was successful

_idstringOptional

Unique identifier for the User

createdOndatetimeOptional

The timestamp the user was created

updatedOndatetimeOptional

The timestamp the user was updated

invitedOndatetimeOptional

The timestamp the user was invited

lastLogindatetimeOptional

The timestamp the user was logged in

emailVerifiedbooleanOptional

Shows whether the user has verified their email address

statusenumOptional
Allowed values: invitedverifiedunverified

The status of the user

accessGroupslist of objectsOptional

Access groups the user belongs to

datamap from strings to anyOptional

An object containing the User’s basic info and custom fields