Register Visitor
Registers a new visitor expected at the coworking space. The visitor receives a notification and the front desk is alerted when they arrive.
Authentication
Requires a valid customer bearer token.
Request Body
The request body is an array of visitor objects. Multiple visitors can be registered in a single request (e.g. for recurring visits).
Numeric identifier of the location where the visitor is expected.
Full name of the visitor.
Email address of the visitor (for notifications).
Phone number of the visitor.
Expected arrival date/time in ISO 8601 format.
Notes from the host for the visitor or front desk.
Response
Returns a 200 OK on success.
Examples
Register a visitor
POST /api/public/visitors
Authorization: Bearer {token}
Content-Type: application/json
[
{
"BusinessId": 1,
"FullName": "Sarah Connor",
"Email": "sarah@example.com",
"PhoneNumber": "+44 7700 900000",
"ExpectedArrival": "2026-04-01T10:00:00Z",
"CustomerNotes": "Meeting in room 3"
}
]
TypeScript Integration
import endpoints from '@/api/endpoints'
const visitors = repeatDates.map((date) => ({
BusinessId: values.BusinessId,
FullName: values.FullName,
Email: values.Email,
PhoneNumber: values.PhoneNumber,
ExpectedArrival: date.toJSDate(),
CustomerNotes: values.CustomerNotes,
}))
await httpClient.post(endpoints.visitors.create, visitors)