# OnceHub API Documentation

This is the complete API documentation for connecting to the OnceHub API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **OnceHub connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/onceHub/actions/{actionSlug}/run
```

## OnceHub actions

- PUT `cancel-booking` Cancel Booking
- POST `create-booking-calendar-one-time-link` Create Booking Calendar One-Time Link
- POST `create-webhook` Create Webhook
- GET `get-booking` Get Booking
- GET `get-booking-calendar` Get Booking Calendar
- GET `get-contact` Get Contact
- GET `get-team` Get Team
- GET `get-user` Get User
- GET `get-webhook` Get Webhook
- GET `list-booking-calendars` List Booking Calendars
- GET `list-booking-pages` List Booking Pages
- GET `list-bookings` List Bookings
- GET `list-contacts` List Contacts
- GET `list-event-types` List Event Types
- GET `list-master-pages` List Master Pages
- GET `list-teams` List Teams
- GET `list-users` List Users
- GET `list-webhooks` List Webhooks
- PUT `request-booking-reschedule` Request Booking Reschedule
- PUT `set-booking-no-show` Set Booking No-Show
- GET `validate-api-key` Validate API Key
