HolidayPitches External API

Connect your channel manager, PMS, or custom integrations directly to your campsite data.

v1Base URL: https://app.holidaypitches.com/api/ext/v1/

Authentication

All requests must include your API key in the Authorization header:

curl https://app.holidaypitches.com/api/ext/v1/campsite/ \
  -H "Authorization: Bearer hp_live_your_key_here"

For quick testing only, you can also pass the key as a query parameter:?api_key=hp_live_your_key_here

Keep your key secret. API keys grant access to real booking data. Rotate a key immediately if you believe it has been compromised — go to Admin → API Keys in your HolidayPitches dashboard.

Permissions (scopes)

Each API key is granted one or more permission scopes at creation time. Calling an endpoint without the required scope returns 403 Forbidden.

ScopeWhat it allows
read_campsiteRead campsite name, address, vocabulary, season dates
read_pitchesList all pitches / units with pricing
read_availabilityCheck pitch availability for a date range
read_bookingsList and retrieve individual bookings
write_bookingsCreate bookings and update booking status

Error codes

HTTPMeaning
400Validation error — check the detail field for specifics
401Missing or malformed API key in Authorization header
403Key is valid but lacks the required permission scope
404Resource not found, or belongs to a different campsite
409Conflict — e.g. pitch already booked for those dates
429Rate limit exceeded — slow down requests
500Internal server error — contact support

All error responses include a JSON body with a detail field explaining the problem.

Endpoints

Rate limits

The API is rate-limited to 300 requests per minute per API key. If you exceed this, you will receive a 429 Too Many Requests response. Implement exponential back-off and retry logic in your integration.

HolidayPitches External API v1 · Manage your API keys