curl --request POST \ --url https://api.autosend.com/v1/contacts/search/emails \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "emails": [ "john.doe@example.com", "jane.smith@example.com" ] }'
{ "success": true, "data": { "contacts": [ { "id": "507f1f77bcf86cd799439011", "email": "john.doe@example.com", "firstName": "John", "lastName": "Doe", "userId": "user_12345", "customFields": { "company": "Acme Corp", "role": "Developer", "plan": "premium" }, "updatedAt": "2024-01-15T10:30:00.000Z", "createdAt": "2024-01-15T10:30:00.000Z", "projectId": "229f1f77bcf86cd9273048038" } ] } }
Searches for multiple contacts by their email addresses in a single request. Returns all matching contacts found in your project.
<token>
["john.doe@example.com", "jane.smith@example.com"]
true
Show child attributes
"507f1f77bcf86cd799439011"
"john.doe@example.com"
"John"
"Doe"
"user_12345"
{ "company": "Acme Corp", "role": "Developer", "plan": "premium" }
"2024-01-15T10:30:00.000Z"
"229f1f77bcf86cd9273048038"