Guides
Introduction
Use Campsite’s REST API to create custom integrations and scripts that interact with Campsite.
Check out our examples repo on GitHub for code samples and suggested use cases.
Base URL
Authentication
All API endpoints are authenticated using Bearer tokens.
Follow these steps to get an API key for your organization:
- Go to your Organization settings and click the Integrations tab.
- In the Custom integrations box, click the + New button and create a new integration.
- On the next screen in the API keys box, click Generate API key and copy the API key that appears.
- Include the key in the Authorization header of your requests:
Making requests
Include your bearer token and a Content-Type: application/json header with all requests. Example: