curl --request GET \ --url https://api.autosend.com/v1/contacts/{id} \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "id": "507f1f77bcf86cd799439011", "email": "[email protected]", "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" } }
Retrieves a single contact by its unique identifier.
<token>
"507f1f77bcf86cd799439011"
true
Show child attributes
"[email protected]"
"John"
"Doe"
"user_12345"
{ "company": "Acme Corp", "role": "Developer", "plan": "premium" }
"2024-01-15T10:30:00.000Z"
"229f1f77bcf86cd9273048038"