Headout
Tickets and activities: cities, products, availability and bookings
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- API key (pk_… or tk_…)SecretRequired
- EnvironmentOptionalIdentifier2 choices
Where to find them
- Request access to Headout's partner program: they give you a production key (pk_…) and a test key (tk_…).
- Choose the environment that matches the key. Production bookings are real and are charged to your Headout wallet.
Tools (1)
Headout API request
HEADOUT_SEND_REQUESTAuthenticated call to the Headout API (https://{server}/api/public/v2). Any endpoint of the API is allowed. Paths end in /. Examples: GET /cities/, GET /products/?cityCode=LONDON, GET /products/{id}/, GET /categories/?cityCode=…, GET /availabilities/?productId=…&startDate=…, POST /bookings/ {…}, PUT /bookings/{id}/ {"status": "PENDING"} (capture), POST /bookings/{id}/cancel/ {"reason": "…"}.
Required scopes
No scopes required
Input
Headout API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically.

