W3lcome API
  • Introduction
  • FAQ
  • Authentication
  • Changelog
  • Host
    • The Host Object
    • Retrieve a Host
    • Retrieve a List of Hosts
    • Insert a Host
    • Update a Host
    • Delete a Host
  • Visit
    • The Visit Object
    • Retrieve a Visit
    • Retrieve a List of Visits
    • Change Visit Status
    • Check-out a Visit
    • Check-in with Invitee Id
    • Check-out with Invitee Id
    • Delete a Visit
  • Blocked list
    • The Blocked List Object
    • Retrieve a Person on the Blocked List
    • Retrieve a List of People from the Blocked List
    • Insert a Person on the Blocked List
    • Update a Person on the Blocked List
    • Delete a Person from the Blocked List
  • Invitee
    • The Invitee Object
    • Retrieve an Invitee
    • Retrieve a List of Invitees
    • Insert an Invitee
    • Update an Invitee
    • Delete an Invitee
  • Delivery
    • The Delivery Object
  • Meeting
    • The Meeting Object
  • Notification
    • The Notification Object
  • Webhook
    • Webhook Endpoints
  • Company
    • The Company Object
    • Retrieve Company Information
    • Company Fields
  • Integration
    • W-Access
    • SBT
    • SBT QRCodes
    • Workplace by Facebook
Powered by GitBook
On this page
  • The Object
  • Short Sample
  • Available Methods
  • Table of Errors

Was this helpful?

  1. Host

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

stringrequired

It is a unique 32 characters string

*name

stringrequired

The name of the host. It is required

*email

stringrequired

Must be a valid email address, and it is unique in a company

*type

stringimmutable

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

{
    "id": "5d13bad4ae9c50948f6edd67a16d6936",
    "email": "alisson@w3lcome.com",
    "name": "Alisson Enz Rossi",
    "isActive": true,
    "position": "CTO",
    "sector": "IT",
    "company": "W3lcome"
    "metadata": {
        "myCustomId": "aabbcc",
        "cardNumber": 112233,
        ...
    },
    "role": "employee"
}

Available Methods

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

PreviousChangelogNextRetrieve a Host

Last updated 4 years ago

Was this helpful?

Only used by

If the phone is provided the countryCode must be provided too. you can find a list of valid country codes. E.g.: +55

GET

GET

POST

PATCH

DELETE

/v1/host/:id
/v1/hosts
/v1/hosts
/v1/host/:id
/v1/host/:id
Webhook Endpoint
Here