Auth
Get Access Token
API Documentation
Health
Files
Web Scrape
Data Source
SharePoint
GitHub
Chunks / Embeddings
Retrieval
Auth
Get Access Token
Generate a Carbon access token with your Carbon API key and “customer-id” to call other endpoints.
GET
/
auth
/
v1
/
access_token
curl --request GET \
--url https://api.carbon.ai/auth/v1/access_token \
--header 'authorization: <authorization>' \
--header 'customer-id: <customer-id>'
{
"access_token": "<string>",
"refresh_token": "<string>"
}
curl --request GET \
--url https://api.carbon.ai/auth/v1/access_token \
--header 'authorization: <authorization>' \
--header 'customer-id: <customer-id>'
{
"access_token": "<string>",
"refresh_token": "<string>"
}