curl --request GET \
--url https://api.autosend.com/v1/contacts/{id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"id": "507f1f77bcf86cd799439011",
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"userId": "user_12345",
"customFields": {
"company": "Acme Corp",
"role": "Developer",
"plan": "premium"
},
"listIds":["692822107f092ea9019d3af8"],
"updatedAt": "2024-01-15T10:30:00.000Z",
"createdAt": "2024-01-15T10:30:00.000Z",
"projectId": "229f1f77bcf86cd9273048038"
}
}
Retrieves a single contact by its unique identifier.
curl --request GET \
--url https://api.autosend.com/v1/contacts/{id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"id": "507f1f77bcf86cd799439011",
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"userId": "user_12345",
"customFields": {
"company": "Acme Corp",
"role": "Developer",
"plan": "premium"
},
"listIds":["692822107f092ea9019d3af8"],
"updatedAt": "2024-01-15T10:30:00.000Z",
"createdAt": "2024-01-15T10:30:00.000Z",
"projectId": "229f1f77bcf86cd9273048038"
}
}
curl --request GET \
--url https://api.autosend.com/v1/contacts/{id} \
--header 'Authorization: Bearer <token>'
{
"success": true,
"data": {
"id": "507f1f77bcf86cd799439011",
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"userId": "user_12345",
"customFields": {
"company": "Acme Corp",
"role": "Developer",
"plan": "premium"
},
"listIds":["692822107f092ea9019d3af8"],
"updatedAt": "2024-01-15T10:30:00.000Z",
"createdAt": "2024-01-15T10:30:00.000Z",
"projectId": "229f1f77bcf86cd9273048038"
}
}
<token>, where <token> is your auth token."507f1f77bcf86cd799439011"trueShow child attributes
"507f1f77bcf86cd799439011""john.doe@example.com""John""Doe""user_12345"Show child attributes
{
"company": "Acme Corp",
"role": "Developer",
"plan": "premium"
}
"2024-01-15T10:30:00.000Z""2024-01-15T10:30:00.000Z""229f1f77bcf86cd9273048038"["507f1f77bcf86cd799439011"]