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
| It is a unique 32 characters string |
*name
| The name of the host. It is required |
| Must be a valid email address, and it is unique in a company |
*type
| This is an immutable field that indicated the type of the object. In this case 'host' |
event
| Only used by Webhook Endpoint |
isActive
| A boolean value indicating if the host is active on the iPad or not |
pictureUrl
| The URL of an image. It can be a |
position
| The current position of the host |
sector
| The current sector of the host |
phone
| It can be only numbers, or formatted but must be a string |
countryCode
| If the phone is provided the countryCode must be provided too. Here you can find a list of valid country codes. E.g.: |
isPhoneValid
| An automatic check that W3lcome's server do to verify if the phone is valid or not |
company
| The current company of the host |
message
| A custom message to display at the end of the check-in process |
metadata | A custom object used to add any type of information to the host |
role
| The role of the host. It can be |
Short Sample
Available Methods
GET
/v1/host/:idGET
/v1/hostsPOST
/v1/hostsPATCH
/v1/host/:idDELETE
/v1/host/:id
Table of Errors
Method | Type | Description |
| INVALID_QUERY_OPERATOR INVALID_LIMIT_VALUE INVALID_OFFSET_VALUE | |
| MISSING_NAME | |
| MISSING_EMAIL | |
| INVALID_EMAIL | |
| ALREADY_EXISTS | |
| CANNOT_CHANGE_HOST_EMAIL | |
| INVALID_ROLE | |
| NOT_FOUND | |
| MISSING_ID | |
| INTERNAL | |
| UNAUTHORIZED |
Last updated