Skip to content

Hosts

A host is someone a visitor or vehicle is coming to see. Hosts live in a directory for one site. They are not people profiles, and they do not check in.

Hosts are addressed by hostId, a UUID returned when the host is created:

/sites/{siteId}/hosts/{hostId}

Name is required, and so is an email or a phone number. Host group is optional. A phone number the directory does not accept is BadRequestError. A host belongs to the site in the path. A host from another site is not found.

Every host endpoint lives under Hosts in the API Reference.

POST
/sites/{siteId}/hosts

Creates a host and returns HostResponse. Send an Idempotency-Key on create — see Idempotency.

POST
/sites/{siteId}/hosts/search

Matches query against name, email, or phone. Omit query to list hosts at the site. Optional hostGroupId limits the list to one group.

GET
/sites/{siteId}/host-groups

Lists host groups at the site. Use a group’s id as hostGroupId when creating a host.

PUT
/sites/{siteId}/hosts/{hostId}

Partial update of name, email, or phone. This route does not change the host group.

DELETE
/sites/{siteId}/hosts/{hostId}

Removes the host and returns 204 No Content.

Pass hostId when you create a person or vehicle check-in. The check-in response includes that hostId, and the host’s name, email, and phone under hostSelection when the selection type is HOST. The same fields are on the existing check-in webhook payload.

An unknown hostId for that site returns HostNotFoundError (404). Omit hostId when the visit has no host.