v1.0.0
OpenAPI 3.1.0
Get customers by email
Client Libraries
US region
Return a list of people in your workspace matching an email address.
If the email contains special characters like +, make sure you percent-encode them in the query parameter. For example, use jane%2Bnotifications%40example.com instead of jane+notifications@example.com. Unencoded special characters can return empty results without an error.
The email address you want to search for.
Unauthorized request. Make sure that you provided the right credentials.
curl 'https://api.customer.io/v1/customers?email=' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"results": [
{
"email": "hugh.mann@example.com",
"id": 2,
"cio_id": "a3000001"
}
]
}Returns an array of results; each result represents a person.