Get Started
Authentication
Learn how to authenticate with the Carbon Business API.
The Carbon Business API uses API key-based authentication. Every request to the API must include the x-carbon-key
header with your API key.
Authentication Methods
apikey
The apikey
is a security scheme used to authenticate requests. It must be included in the request header as authorization
. This key is required for all API interactions.
x-carbon-key
The x-carbon-key
is the header where your app API key is passed. It is mandatory for every request to the Carbon Business API. Without this header, the API will reject the request with an authentication error.
How to Get Your API Key
- Get in touch with our team via email: sme@getcarbon.co
- Sign Up via the sandbox environment Carbon Business developer portal.
- Navigate to the API Keys section.
- Generate a new API key or use an existing one.
Example
Include the apikey
header in your requests:
Include the x-carbon-key
header in your requests:
Example Request
Environments
Environment | URL |
---|---|
Live | [Production URL] |
Sandbox | https://carbonapistagingsecure.getcarbon.co/baas/api |