Getting started
Welcome to the BookSpot OCTO API documentation. This API follows the OCTO specification for tours, activities, and attractions booking, with additional capabilities.
Base URL
All API requests should be made to:
https://api.bookspot.io/octo/v1Authentication
All API requests require Bearer token authentication.
Getting Your API Token
Log in to your BookSpot account
Navigate to Settings → Integrations → OCTO API
Click Create Token
Copy your token and store it securely
Using Your Token
Include the token in the Authorization header:
Authorization: Bearer your-api-token-hereRequired Headers
Every request must include the following headers:
Authorization
Yes
Bearer token for authentication
Octo-Capabilities
Yes
Comma-separated list of enabled capabilities
Accept-Language
No
Preferred language (ISO 639-1 code, e.g., sv, en)
Example Request
Capabilities
Capabilities are optional features that extend the API response. Enable them by including them in the Octo-Capabilities header.
pricing
Include pricing information (in minor currency units)
content
Include localized content (titles, descriptions)
extras
Include addon products (extras) for units
Example
To enable pricing and content:
To enable all capabilities:
Content Localization
When the content capability is enabled, you can request content in a specific language using the Accept-Language header.
Request
Response Headers
Content-Language
The language used in the response
Octo-Available-Languages
Comma-separated list of available languages
Error Handling
The API returns errors in the following format:
Common Error Codes
INVALID_PRODUCT_ID
400
The product ID was invalid or not found
INVALID_BOOKING_UUID
400
The booking UUID was invalid or not found
UNPROCESSABLE_ENTITY
400
Request is valid but cannot be processed
Unauthorized
401
Invalid or missing authentication token
API Flow
Products → Availability → Reserve → Confirm
Next Steps
Supplier - Get supplier information
Products - List and retrieve products
Availability - Check availability
Bookings - Manage bookings
Last updated