The Host Object
Host is the person inside the company who is going to receive visits and/or have access to the platform
The Object
Attribute
Description
*id
string
required
It is a unique 32 characters string
*name
string
required
The name of the host. It is required
string
required
Must be a valid email address, and it is unique in a company
*type
string
immutable
This is an immutable field that indicated the type of the object. In this case 'host'
event
string
isActive
bool
A boolean value indicating if the host is active on the iPad or not
pictureUrl
string
The URL of an image. It can be a .png
or .jpg
position
string
The current position of the host
sector
string
The current sector of the host
phone
string
It can be only numbers, or formatted but must be a string
countryCode
string
isPhoneValid
bool
An automatic check that W3lcome's server do to verify if the phone is valid or not
company
string
The current company of the host
message
string
A custom message to display at the end of the check-in process
metadata object
A custom object used to add any type of information to the host
role
string
The role of the host. It can be employee
, admin
, frontDesk
, manager
or host
. Default employee
Short Sample
Available Methods
GET
/v1/host/:idGET
/v1/hostsPOST
/v1/hostsPATCH
/v1/host/:idDELETE
/v1/host/:id
Table of Errors
Method
Type
Description
GET
/hosts
INVALID_QUERY_OPERATOR
INVALID_LIMIT_VALUE
INVALID_OFFSET_VALUE
POST
/hosts
MISSING_NAME
POST
/hosts
MISSING_EMAIL
POST
/hosts
INVALID_EMAIL
POST
/hosts
ALREADY_EXISTS
PATCH
/host/:id
CANNOT_CHANGE_HOST_EMAIL
POST
PATCH
INVALID_ROLE
DELETE
GET
PATCH
NOT_FOUND
DELETE
GET
PATCH
MISSING_ID
GET
POST
PATCH
DELETE
INTERNAL
GET
POST
PATCH
DELETE
UNAUTHORIZED
Last updated
Was this helpful?