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

Parameters: find_customer
NameTypeDescription
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
curl https://cotlet.dev/api/v1/chargebee/customers/find \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("chargebee", "find_customer")
Node.js
const result = await cotlet.call('chargebee', 'find_customer');
CLI
cotlet call chargebee find_customer

Example response

JSON

{
  "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
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.