curl --request GET \
--url https://api.getfernand.com/contacts/{id} \
--header 'X-API-Key: <api-key>'{
"id": 12345,
"email": "richard.hendricks@piedpiper.com",
"name": "Richard Hendricks",
"firstname": "Richard",
"avatar": "https://api.getfernand.com/contacts/richard.hendricks@piedpiper.com/avatar",
"company": {
"id": 123,
"name": "PiedPiper",
"domain": "piedpiper.com",
"logo": "https://api.fetchlab.net/icons/piedpiper.com",
"url": "https://piedpiper.com"
},
"is_role": false,
"is_trusted": true,
"subscription_status": "active",
"subscription_start": "2024-01-15T10:30:00Z",
"financials": {
"sources": {},
"subscriptions": {
"total": 123,
"latest": {}
},
"payments": {
"total": 123,
"data": [
{}
]
}
}
}curl --request GET \
--url https://api.getfernand.com/contacts/{id} \
--header 'X-API-Key: <api-key>'{
"id": 12345,
"email": "richard.hendricks@piedpiper.com",
"name": "Richard Hendricks",
"firstname": "Richard",
"avatar": "https://api.getfernand.com/contacts/richard.hendricks@piedpiper.com/avatar",
"company": {
"id": 123,
"name": "PiedPiper",
"domain": "piedpiper.com",
"logo": "https://api.fetchlab.net/icons/piedpiper.com",
"url": "https://piedpiper.com"
},
"is_role": false,
"is_trusted": true,
"subscription_status": "active",
"subscription_start": "2024-01-15T10:30:00Z",
"financials": {
"sources": {},
"subscriptions": {
"total": 123,
"latest": {}
},
"payments": {
"total": 123,
"data": [
{}
]
}
}
}ID of the contact to retrieve.
Contact details retrieved successfully.
Unique identifier for the contact
12345
Email address of the contact, stored in lowercase and decoded from punycode if applicable
250"richard.hendricks@piedpiper.com"
Display name of the contact, can be set locally or derived from various sources. Returns local_name if set, otherwise the name field, or generates a name from the email address.
250"Richard Hendricks"
First name extracted from the contact's full name
"Richard"
URL to the contact's avatar image, fetched from Gravatar or domain favicon
"https://api.getfernand.com/contacts/richard.hendricks@piedpiper.com/avatar"
Company information associated with the contact's email domain
Show child attributes
Indicates if the email is a role-based address (e.g., support@, info@, contact@)
false
Indicates if the contact is trusted (Untrusted contacts come from unverified live chat sessions).
true
Current subscription status from payment processor, only available when complete serialization is requested
active, past_due, unpaid, canceled, churned, incomplete, trialing "active"
Timestamp when the subscription started (UTC), only available when complete serialization is requested
"2024-01-15T10:30:00Z"
Financial information including payment sources, subscriptions, and payment history, only available when complete serialization is requested
Show child attributes
Was this page helpful?