Skip to main content
GET
/
customers
List customers
curl --request GET \
  --url https://api.corebill.io/v1/customers \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "customers": [
      {
        "id": "cus_a1b2c3d4e5f6",
        "name": "John Doe",
        "slug": "john-doe",
        "contact_email": "[email protected]",
        "contact_phone": "+1-555-0100",
        "country": "US",
        "city": "San Francisco",
        "currency": "USD",
        "status": "active",
        "legal_name": "John Doe LLC",
        "legal_address": "123 Market St, San Francisco, CA 94105",
        "legal_vat": "US123456789",
        "zipcode": "94105",
        "created_at": "2025-03-01T09:00:00.000Z",
        "updated_at": "2025-03-15T11:30:00.000Z"
      }
    ],
    "pagination": {
      "total": 42,
      "limit": 50,
      "offset": 0
    }
  }
}

Authorizations

Authorization
string
header
required

API key authentication. Generate keys from the Corebill dashboard under the Developers section.

Example: Authorization: Bearer sk_live_abc123def456

Query Parameters

company_id
string
required

The company ID to scope the request to

limit
integer
default:50

Maximum number of records to return (default 50)

Required range: 1 <= x <= 100
offset
integer
default:0

Number of records to skip for pagination (default 0)

Required range: x >= 0

Search customers by name or email (case-insensitive partial match)

Response

Paginated list of customers

data
object
required