bookings
GET
https://linkyhub.net/api/v3 /bookings Scope bookings:readUpcoming and past bookings. Attendee details only with orders:read_customer.
Parameters
sincestringqueryCode 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[]requiredHeaders
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Example
{
"error": "string",
"message": "string"
}Schema
errorstringrequiredA stable code to branch on, e.g. insufficient_scope.
messagestringrequiredA sentence to show a person.
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
GET
https://linkyhub.net/api/v3 /bookings/availability Scope bookings:readThe 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-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Same as default · GET /bookings
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
PUT
https://linkyhub.net/api/v3 /bookings/availability Scope bookings:writeReplace the weekly availability. Minutes count from midnight in each rule’s time zone.
Request body
application/json
rulesobject[]requiredShow child parameters
dayOfWeekintegerrequiredstartMinuteintegerrequiredendMinuteintegerrequiredslotMinutesintegerrequiredbufferMinutesintegerrequiredtimezonestringrequired{
"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-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
default An error.
Same as default · GET /bookings
Headers
RateLimit-LimitintegerRequests allowed in the current window.
RateLimit-RemainingintegerRequests left in the current window.
RateLimit-ResetintegerSeconds until the window resets.
Updated