curl --request GET \
--url https://api.clemta.com/contacts/{contact_id}{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"created_at": 123,
"updated_at": 123,
"type": "<string>",
"status": "<string>",
"full_name": "<string>",
"email": "<string>",
"description": "<string>",
"cc_emails": [
{}
],
"bcc_emails": [
{}
],
"billing": {
"email": "<string>",
"phone": "<string>",
"phone_code": "<string>",
"iso_code": "<string>",
"country": "<string>",
"address_1": "<string>",
"address_2": "<string>",
"postal_code": "<string>",
"district": "<string>",
"state": "<string>",
"province": "<string>",
"tax_id": "<string>"
}
}
}Retrieves a specific contact by its ID
curl --request GET \
--url https://api.clemta.com/contacts/{contact_id}{
"success": true,
"message": "<string>",
"data": {
"id": "<string>",
"created_at": 123,
"updated_at": 123,
"type": "<string>",
"status": "<string>",
"full_name": "<string>",
"email": "<string>",
"description": "<string>",
"cc_emails": [
{}
],
"bcc_emails": [
{}
],
"billing": {
"email": "<string>",
"phone": "<string>",
"phone_code": "<string>",
"iso_code": "<string>",
"country": "<string>",
"address_1": "<string>",
"address_2": "<string>",
"postal_code": "<string>",
"district": "<string>",
"state": "<string>",
"province": "<string>",
"tax_id": "<string>"
}
}
}X-API-Key: your_api_key_here
Show Contact Object
customer or vendor).Show Billing Properties
| Code | Description |
|---|---|
| 200 | Contact retrieved successfully |
| 400 | Invalid request |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Contact not found |
| 500 | Internal server error |
{
"success": false,
"message": "Contact not found",
"data": null,
"error": {
"code": "NOT_FOUND",
"details": ""
}
}
curl -X GET https://api.clemta.com/contacts/64b8f1a2e4b0c8d9f0123456 \
-H "X-API-Key: your_api_key_here"
{
"success": true,
"message": "Contact retrieved successfully",
"data": {
"id": "64b8f1a2e4b0c8d9f0123456",
"created_at": 1640995200,
"updated_at": 1640995200,
"type": "customer",
"status": "active",
"full_name": "John Doe",
"email": "[email protected]",
"description": "Primary contact for the company",
"cc_emails": ["[email protected]", "[email protected]"],
"bcc_emails": ["[email protected]"],
"billing": {
"email": "[email protected]",
"phone": "1234567890",
"phone_code": "+1",
"iso_code": "US",
"country": "United States",
"address_1": "123 Main Street",
"address_2": "Suite 100",
"postal_code": "12345",
"district": "Downtown",
"state": "CA",
"province": "California",
"tax_id": "12-3456789"
}
}
}