Find customer
Customers matching an email, company or name.
GET https://cotlet.dev/api/v1/chargebee/customers/find
read
Searches Chargebee customers and returns the customer ID that every other endpoint takes. Email and names match exactly; company matches the start of the name. Newest customers come first. Pages hold up to 100 customers; pass next_cursor back as cursor for the next page.
Parameters
| Name | Type | Description |
|---|---|---|
| email string | string | Exact email address. |
| company string | string | Start of the company name. |
| first_name string | string | Exact first name. |
| last_name string | string | Exact last name. |
| limit integer | integer | 1 to 100. Default: 10. |
| cursor string | string | Next page cursor from the previous call. |
Request
curl https://cotlet.dev/api/v1/chargebee/customers/find \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("chargebee", "find_customer") const result = await cotlet.call('chargebee', 'find_customer'); cotlet call chargebee find_customer Example response
{
"customers": [
{
"customer_id": "cus_9s2kQw",
"company": "Brightleaf Analytics",
"first_name": "Billing",
"last_name": "Team",
"email": "billing@brightleaf.example",
"auto_collection": "on",
"created_at": "2025-03-12T09:14:00Z"
}
],
"next_cursor": null
}