Skip to main content
To use the Campflare API, you must get an API Key from the Dashboard.

Base URL

All requests are made to the base URL:
https://api.campflare.com/v2

Authentication

Authentication requires an Authorization header with your API key. Replace YOUR_API_KEY with your actual API key. You can get an API Key from the Dashboard.
Authorization: YOUR_API_KEY

Response Codes

The Campflare API follows conventional HTTP status codes. HTTP status codes are grouped into three main categories for indicating response outcomes:
  • 2xx Success Codes: Indicate that the request was received, understood, and processed successfully.
  • 4xx Client Error Codes: Show that the issue stems from the user’s request. This could mean the request was malformed (400) or unauthorized (401).
  • 5xx Server Error Codes: Indicate problems on the server side, meaning our infrastructure encountered an issue while processing an otherwise valid request. For instance, 500 signals an internal server error, while 503 means the service is temporarily unavailable.