Getting Started
Quickstart
Make your first API call to Corebill in under 2 minutes.
Prerequisites
- A Corebill account at app.corebill.io
- At least one company created in your organization
- An API key (generate one in Settings > Developers)
Step 1: Install the SDK (optional)
If you're using Node.js, install the official SDK:
Bash
Step 2: Check your company
Each API key is created inside one company, so every request is scoped to it automatically. Optionally, list the companies of your organization to confirm which one the key belongs to.
You never pass a company ID: the key already knows its company. To work with another company, create an API key inside that company from Developers > API Keys.
Keys created before company-scoped keys existed return api_key_company_missing. Re-issue them from the dashboard.
Step 3: Create a customer
Step 4: Create an invoice
Response:
JSON