Skip to main content
The Butter AI API uses API keys to authenticate requests. You can view and manage your API keys in the Butter AI Dashboard.

Authentication Headers

All API requests must include the following headers:
  1. Authorization: Your API key as a Bearer token.
  2. X-Organization-Id: The ID of the organization you are acting on behalf of.
Authorization: Bearer <YOUR_API_KEY>
X-Organization-Id: <YOUR_ORGANIZATION_ID>
Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.

Obtaining your Organization ID

You can find your Organization ID in the Dashboard Settings page.