One collection covers every endpoint in this reference. Import it together with the environment for the system you are calling.
| File | Use |
|---|
| /postman/booka-external-api.postman_collection.json | The collection. |
| /postman/booka-staging.postman_environment.json | Staging environment: baseUrl https://api-staging-booka.shakewell.net, tenant vnsw. |
| /postman/booka-production.postman_environment.json | Production environment: baseUrl https://api-booka.venuesnsw.com, no tenant header. |
Set up
- In Postman choose Import and add the collection and both environments.
- Select the Staging or Production environment.
- Paste your key into the
apiKey variable. Keys are never shipped in the files. - Run Venues / List venues to confirm the key works, then use the ids it returns in the
venueId and spaceId variables.
| Name | Type | Required | Description |
|---|
| baseUrl | string | Yes | API host, set by the environment. |
| tenant | string | No | Staging tenant slug, sent as X-Tenant. Empty on production, where the collection leaves the header out. |
| apiKey | string | Yes | Your API key. Mark it secret. |
| venueId | integer | No | A venue id from List venues. |
| spaceId | integer | No | A space id from List spaces. |
| eventId | integer | No | An event id, set by Create event. |
| bookingId | integer | No | A booking id, set by Create booking. |