Theme switcher

Find Customer by Email

Search for a customer using their email address. This endpoint is essential for duplicate prevention - use it before creating new customers to check if they already exist.

Exact Match Only: This endpoint requires an exact email match. It doesn't support partial matching or wildcards.

Case Insensitive: Email matching is case-insensitive. Searching for "USER@EXAMPLE.COM" will find "user@example.com".

Team Scoped: Only searches within the authenticated user's team. The same email can exist in different teams.

Complete Customer Data: Returns the full customer object if found, including all nested objects (addresses, contacts, etc.).

404 vs 200: A 404 response means the customer doesn't exist - this is not an error condition when checking for duplicates. Handle 404s gracefully in your duplicate-prevention workflow.

URL Encoding: Email with special characters must be URL-encoded:

  • john+test@example.com becomes john%2Btest%40example.com
  • user@my-domain.com becomes user%40my-domain.com Most HTTP clients handle this automatically.

Use Cases:

  1. Pre-Creation Check: Check if customer exists before creating to avoid duplicates
  2. Customer Lookup: Find customer UUID when you only have their email
  3. Import Validation: When importing customers from external systems
  4. User Registration: Link users to existing COUNT customers or create new ones

Performance: This endpoint is optimized for email lookups and performs well even with large customer databases. Email is indexed for fast retrieval.

Recommended before creating an invoice or customer to avoid duplicates.

Header Parameters

x-client-idstring
x-signaturestring
Authorizationstring

Query Parameters

emailstring Required

The email address to search for. Must be an exact match (case-insensitive).

Special characters should be URL-encoded.

Response

200
Object
Customer found

Response Attributes

statusstring
messagestring
dataobject

Show child attributes

400
Object
Bad Request - Invalid or missing email parameter

Response Attributes

statusstring Required

Always "error" for error responses

messagestring Required

Human-readable error description

codestring Required

Machine-readable error code for programmatic handling

detailsobject

Additional context about the error (varies by error type)

Show child attributes

errorsarray

Present for validation errors with multiple fields

Show child attributes

401
Object
Unauthorized - Authentication failed

Response Attributes

statusstring Required

Always "error" for error responses

messagestring Required

Human-readable error description

codestring Required

Machine-readable error code for programmatic handling

detailsobject

Additional context about the error (varies by error type)

Show child attributes

errorsarray

Present for validation errors with multiple fields

Show child attributes

404
Object
Not Found - Customer does not exist

Response Attributes

statusstring Required

Always "error" for error responses

messagestring Required

Human-readable error description

codestring Required

Machine-readable error code for programmatic handling

detailsobject

Additional context about the error (varies by error type)

errorsarray

Present for validation errors with multiple fields

Show child attributes

429
Object
Too Many Requests - Rate limit exceeded

Response Attributes

statusstring Required

Always "error" for error responses

messagestring Required

Human-readable error description

codestring Required

Machine-readable error code for programmatic handling

detailsobject

Additional context about the error (varies by error type)

Show child attributes

errorsarray

Present for validation errors with multiple fields

Show child attributes

Was this section helpful?

What made this section unhelpful for you?

GET

/

Select
1

Response

Was this section helpful?

What made this section unhelpful for you?