Create a guest (legacy)
A newer version of this REST API (v2.1) is available. If you're new to this REST API, use the new version. Alternatively, if you're already using the old version, read about the differences between v2 and v2.1 so you can upgrade.
POST /v2/guests
Creates a guest.
The REST API does not validate whether a guest already exists when you create a guest. To avoid creating duplicate guests, first retrieve guests using their email address or other identifying information.
At a minimum, you must provide the following required attributes in the request body:
| Attribute | Type | Description | Example |
|---|---|---|---|
guestType | string enum | The level of identity obtained. | Must be one of the following:
|
In the response, the ref key contains the guest reference.
Create a guest using Personally Identifiable Information (PII):
201 Created response with Personally Identifiable Information (PII):
Create a guest using identifiers:
201 Created response with identifiers: