bookings

Embed
Preview of the card
<a href="https://linkyhub.net/docs/ref-bookings"><img src="https://linkyhub.net/docs/_api/public/orgs/2fd2a4b7-b627-4925-af1e-1c51bf890403/spaces/c4b920fb-a433-40b5-b354-ff84bf0c3eb1/pages/de3f7f53-a105-4df9-90b5-a3d0b76b206e/social-card.svg?v=3e7ae33eec8b" alt="bookings" width="600" height="315"></a>
GEThttps://linkyhub.net/api/v3/bookingsScope bookings:read

Upcoming and past bookings. Attendee details only with orders:read_customer.

Parameters

sincestringquery

Code samples

cURL
curl -X GET "https://linkyhub.net/api/v3/bookings" \
  -H "Authorization: Bearer $LINKYHUB_API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Done.
Example
{
  "data": [
    {}
  ]
}
Schema
dataobject[]required
Headers
RateLimit-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
default An error.
Example
{
  "error": "string",
  "message": "string"
}
Schema
errorstringrequired
A stable code to branch on, e.g. insufficient_scope.
messagestringrequired
A sentence to show a person.
Headers
RateLimit-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
GEThttps://linkyhub.net/api/v3/bookings/availabilityScope bookings:read

The weekly windows booking blocks draw their slots from.

Code samples

cURL
curl -X GET "https://linkyhub.net/api/v3/bookings/availability" \
  -H "Authorization: Bearer $LINKYHUB_API_KEY"
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Done.
{}
Headers
RateLimit-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
default An error.

Same as default · GET /bookings

Headers
RateLimit-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
PUThttps://linkyhub.net/api/v3/bookings/availabilityScope bookings:write

Replace the weekly availability. Minutes count from midnight in each rule’s time zone.

Request body

application/json
rulesobject[]required
Show child parameters
dayOfWeekintegerrequired
startMinuteintegerrequired
endMinuteintegerrequired
slotMinutesintegerrequired
bufferMinutesintegerrequired
timezonestringrequired
{
  "rules": [
    {
      "dayOfWeek": 0,
      "startMinute": 0,
      "endMinute": 0,
      "slotMinutes": 0,
      "bufferMinutes": 0,
      "timezone": "string"
    }
  ]
}

Code samples

cURL
curl -X PUT "https://linkyhub.net/api/v3/bookings/availability" \
  -H "Authorization: Bearer $LINKYHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"rules":[{"dayOfWeek":0,"startMinute":0,"endMinute":0,"slotMinutes":0,"bufferMinutes":0,"timezone":"string"}]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 Done.
{}
Headers
RateLimit-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
default An error.

Same as default · GET /bookings

Headers
RateLimit-Limitinteger
Requests allowed in the current window.
RateLimit-Remaininginteger
Requests left in the current window.
RateLimit-Resetinteger
Seconds until the window resets.
Updated