Skip to main content
New to Corsair? See API access, authentication, and error handling.

Booking Calendars

book

bookingCalendars.book Book an open time slot on a booking calendar for a guest, which emails the guest and host; OnceHub answers with only the new booking ID Risk: destructive
Input Books an open slot and answers with only the new booking ID; read the full booking back with bookings.get. location.type takes physical, virtual, virtual_static or guest_phone, and its value differs per type: a provider name such as google_meet for virtual, a phone number in E.164 for calls, an address ID for in-person.
Output

get

bookingCalendars.get Fetch one booking calendar by ID Risk: read
Input Output

list

bookingCalendars.list List booking calendars with their hosts, URLs and durations, optionally filtered by host Risk: read
Input Output

bookingCalendars.oneTimeLink Create a single-use booking link for a booking calendar; the URL is a credential, so store it carefully Risk: write
Input The returned url is a single-use credential: whoever holds it can book that calendar once without signing in. Deliver it to the guest rather than logging it. hide_url_params: true returns a short link with no visible query parameters.
Output

timeSlots

bookingCalendars.timeSlots List the open time slots of a booking calendar between a start and end instant Risk: read
Input Output: object[]

Booking Pages

get

bookingPages.get Fetch one booking page by ID Risk: read
Input Output

list

bookingPages.list List booking pages, optionally filtered by master page, event type or owner, plus paging Risk: read
Input Output

Bookings

cancel

bookings.cancel Cancel a booking, optionally emailing the guest; OnceHub has no undo, so the meeting must be rebooked Risk: destructive · Irreversible
Input Destructive and irreversible: OnceHub has no un-cancel call, so the meeting must be booked again. send_cancellation_email defaults to true. Output

get

bookings.get Fetch one booking by ID, optionally expanding its owner, contact or conversation Risk: read
Input Pass expand with owner, contact and/or conversation (comma-separated) to embed those objects in the answer; OnceHub answers 400 for any other field. Output

list

bookings.list List bookings with filters for status, owner, contact, pages and time windows, plus paging Risk: read
Input Paging works the same on every list operation: limit defaults to 10 and caps at 100, after and before are mutually exclusive and take an object ID, and the answer carries nextPageAfter, the ID to pass as the next after. Output

noShow

bookings.noShow Mark a booking as a no-show; the flag cannot be cleared through the API Risk: destructive · Irreversible
Input Irreversible: the no-show flag cannot be cleared through the API. Output

reassign

bookings.reassign Move a booking to another host; OnceHub replaces the calendar event and notifies the guest and both hosts Risk: destructive
Input Moves the booking to new_host, who must hold an active seat in the same account (an invited user without a seat answers 422 “The new host requires an assigned seat.”). OnceHub deletes the original calendar event, creates one for the new host and notifies the guest and both hosts. location can only set a virtual video service; omit it to keep an in-person or phone location.
Output

requestReschedule

bookings.requestReschedule Cancel a booking and email the guest a link to pick a new time, with an optional reason they will see Risk: destructive
Input Cancels the booking and emails the guest a link to pick a new time; reschedule_reason is shown to them. Output

Contacts

create

contacts.create Create a contact with profile fields, an owner, a status and custom fields Risk: write
Input status takes Qualified, Sales qualified, Marketing qualified or Disqualified; any other value is refused before the request is sent (OnceHub itself would store it as null). has_consent is sent unchanged, since the OnceHub docs type it as a string. Custom fields use the question’s own field name as the key. OnceHub requires at least one of email or mobile_phone: a create with neither answers 400 invalid_request_error, even though both fields are optional.
Output

delete

contacts.delete Remove a contact; OnceHub redacts the record and reports deleted: true Risk: destructive · Irreversible
Input The API answers 204 with no body; a 2xx response means the contact was deleted, and Corsair reports deleted: true. Output

get

contacts.get Fetch one contact by ID Risk: read
Input Output

list

contacts.list List contacts with filters for email and time windows, plus paging Risk: read
Input Output

update

contacts.update Change contact fields, owner, status or custom fields; email and mobile phone cannot change Risk: write
Input Only the fields given change, and at least one is required. email and mobile_phone identify the contact and cannot be changed here.
Output

Event Types

get

eventTypes.get Fetch one event type by ID Risk: read
Input Output

list

eventTypes.list List the event types the account offers, with paging Risk: read
Input Output

Master Pages

get

masterPages.get Fetch one master page by ID Risk: read
Input Output

list

masterPages.list List the master pages the account offers, with paging Risk: read
Input Output

masterPages.oneTimeLink Create a single-use booking link for a master page; the URL is a credential, so store it carefully Risk: write
Input Same as the booking-calendar one-time link: a single-use booking URL, so treat it as a credential. Output

Sms Notifications

list

smsNotifications.list List SMS notifications the account sent, filtered by recipient or time, with paging Risk: read
Input Lists SMS notifications the account sent. recipient is a contact or user ID, or the whole object with expand: recipient. creation_time.gt and creation_time.lt take full ISO date-times. Output

Teams

get

teams.get Fetch one ScheduleOnce team by ID Risk: read
Input Output

list

teams.list List teams, optionally filtered by the teams that include one user Risk: read
Input Output

Test

validateKey

test.validateKey Validate the API key; the response message names the account the key belongs to Risk: read
Input: empty object The cheapest way to check a key: a valid key answers with a message naming the account it belongs to. The OnceHub API is Enterprise-plan only, so a key from a lower plan answers 403 here too. Every operation authenticates with an API-Key header, and an account may send 5 requests per second. Output

Users

create

users.create Invite a user to the account by email, with a role and optional teams; the invite is emailed and the user may take a paid seat Risk: destructive
Input role_name takes Administrator, Member or Team Manager and defaults to Member. Each team ID given must already exist. Output

delete

users.delete Remove a user from the account; OnceHub redacts the record and reports deleted: true Risk: destructive · Irreversible
Input The API answers 204 with no body; a 2xx response means the user was deleted, and Corsair reports deleted: true. There is no restore call. Output

get

users.get Fetch one ScheduleOnce user by ID Risk: read
Input Output

getAvailability

users.getAvailability Read the weekly scheduling availability and date overrides of one user Risk: read
Input Output

list

users.list List account users, optionally filtered by email, with paging Risk: read
Input Output

update

users.update Update the name, role or team memberships of one user Risk: write
Input Only the fields given are changed; role_name takes Administrator, Member or Team Manager. Output

updateAvailability

users.updateAvailability Overwrite the weekly availability or date overrides of one user with the given time slots Risk: write
Input Each weekday or date given is completely overwritten, so send the user’s full weekly plan, not a delta. Times are HH:MM on a 15-minute mark, slots in one day must not overlap, duplicate location types within one slot are rejected, and a slot cannot mix online_dynamic_link with online_static_link. An empty working_hours array clears a day; null in overrides deletes a date override.
Output

Webhooks

create

webhooks.create Register a webhook URL that receives OnceHub event POSTs; the response carries the signing secret Risk: write
Input The response carries this webhook’s signing secret as secret (webhooks.get and webhooks.list return it too). Store it with webhookSecret or set_webhook_signature. A name already in use answers 409. events takes trigger types such as booking.scheduled or conversation.started. Deliveries are signed with HMAC-SHA256 over <t>.<raw body> in the Oncehub-Signature header and are rejected outside a 300-second window. Output

delete

webhooks.delete Remove a registered webhook so it stops receiving OnceHub event POSTs Risk: destructive · Irreversible
Input The API answers 204 with no body; a 2xx response means the webhook was deleted, and Corsair reports deleted: true. Output

get

webhooks.get Fetch one registered webhook by ID Risk: read
Input Output

list

webhooks.list List the registered webhooks, with paging Risk: read
Input Output