cURL
curl --request GET \ --url https://api.corebill.io/v1/companies \ --header 'Authorization: Bearer <token>'
{ "data": { "companies": [ { "id": "com_k8x2m9p4q7w1", "name": "Acme Corp", "slug": "acme-corp", "currency": "USD", "invoice_prefix": "INV", "quote_prefix": "QUO", "logo_url": "https://storage.example.com/logos/acme.png", "created_at": "2025-01-15T10:30:00.000Z" }, { "id": "com_r3t6y9u2i5o8", "name": "Startup Labs", "slug": "startup-labs", "currency": "EUR", "invoice_prefix": "SL", "quote_prefix": "SLQ", "logo_url": null, "created_at": "2025-02-20T14:00:00.000Z" } ] } }
Returns all companies accessible with the current API key. This is the only endpoint that does not require a company_id parameter.
company_id
API key authentication. Generate keys from the Corebill dashboard under the Developers section.
Example: Authorization: Bearer sk_live_abc123def456
Authorization: Bearer sk_live_abc123def456
List of companies
Show child attributes