Skip to main content

Getting Authenticated

You need API tokens to be able to make requests to our APIs. Follow this guide for how to mint these tokens.
You must have an active Campfire account and login to be able to create Auth tokens.
Building an integration that other people will connect to their own Campfire account? Use an OAuth app instead of sharing API keys.
Once you have a key, read Getting started for the base URL, pagination, incremental sync, errors and formats every endpoint shares.
1

Go to the API Keys page

Sign in as a Super Admin and go to API Keys (Settings > API Keys). Only Super Admins can create API keys.
2

Create an API key

Click “New API key” and give it a name. Then either tick “Is Super Admin” or choose a role, and optionally limit which entities the key can see. Campfire creates a dedicated API user for the key; its role decides which objects the key can read and change. Give each integration its own key, with the narrowest role that covers what it does. Only a Super Admin key can manage webhooks and API keys; a key with any other role gets a 403.
3

Copy the key

Copy the key and store it somewhere safe. You can only see the key once.
4

Use it in requests

Add the Authorization: Token YOUR_API_KEY header to your requests.

Rate limits

Each API user can make up to 10 requests per second, shared across all endpoints. Requests over the limit return 429 Too Many Requests with a Retry-After header. See Rate limits for details.

Next steps

Now that you have your keys, explore using them with these key features:

API documentation

Explore the full collection of Campfire APIs

Manage Accounts Payable

A guide to creating, voiding, and paying bills.

Manage Accounts Receivable

A guide to creating, voiding, and paying invoices.

Manage Journal Entries

How to post any journal, including FX and intercompany journal entries.

Webhooks

Receive real-time notifications when data changes in Campfire.

OAuth Apps

Let people connect your software to Campfire with OAuth 2.0.
Need help? Contact your Campfire support team and we’re happy to help you build your best Campfire workflow!