Authorization: Bearer ********************
{
"userId": "123e4567-e89b-12d3-a456-426614174000",
"startTime": "2024-01-01T10:00:00.000Z",
"durationInSeconds": 3600,
"title": "Team Meeting",
"description": "Weekly team sync meeting to discuss project updates",
"attendees": [
{
"email": "john.doe@example.com"
}
],
"isPrivate": false
}
curl --location --request POST 'https://connect.deskbird.com/rooms//bookings' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"userId": "123e4567-e89b-12d3-a456-426614174000",
"startTime": "2024-01-01T10:00:00.000Z",
"durationInSeconds": 3600,
"title": "Team Meeting",
"description": "Weekly team sync meeting to discuss project updates",
"attendees": [
{
"email": "john.doe@example.com"
}
],
"isPrivate": false
}'
{
"attendees": [
{
"email": "john.doe@example.com"
}
],
"durationInSeconds": 3600,
"id": "booking-123",
"isCheckedIn": false,
"isPrivate": false,
"officeId": "office-123",
"roomId": "room-123",
"startTime": "2024-01-01T10:00:00Z",
"title": "Team Meeting",
"type": "occurrence",
"userId": "user-123",
"description": "Weekly team standup meeting"
}