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"
},
"updatedAt": "2024-01-15T10:30:00.000Z",
"createdAt": "2024-01-15T10:30:00.000Z",
"projectId": "229f1f77bcf86cd9273048038"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Unique contact IDExample: "507f1f77bcf86cd799439011"
Response
Contact retrieved successfully
Indicates if the request was successfulExample: true
Contact IDExample: "507f1f77bcf86cd799439011"
Contact email addressExample: "john.doe@example.com"
Contact’s first nameExample: "John"
Contact’s last nameExample: "Doe"
Your application’s user identifierExample: "user_12345"
Custom contact attributes
Example:{
"company": "Acme Corp",
"role": "Developer",
"plan": "premium"
}
Contact creation timestampExample: "2024-01-15T10:30:00.000Z"
Contact last update timestampExample: "2024-01-15T10:30:00.000Z"
Project ID that the contact belongs toExample: "229f1f77bcf86cd9273048038"