Retrieve Contact
Retrieves a contact by ID
curl --request GET \
--url https://wt.ls/api/v4/contacts/{id} \
--header 'apiKey: <api-key>'
{
"data": {
"contact": {
"id": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"points": 123,
"referrals": 123,
"listId": "<string>",
"isVerified": true,
"unsubscribed": true,
"customData": {},
"address": "<string>",
"isGDPR": true,
"name": "<string>",
"instagram": "<string>",
"twitter": "<string>",
"website": "<string>",
"company": "<string>",
"country": "<string>",
"city": "<string>",
"list": {},
"audiences": [
"<any>"
],
"referralLink": "<string>",
"privateLink": "<string>",
"position": 123
}
}
}
Authorizations
API key to authorize requests
Path Parameters
ID of the contact to retrieve
Response
Unique identifier for the contact
Email address of the contact
First name of the contact
Last name of the contact
Phone number of the contact
When the contact was created
Points accumulated by the contact
Number of referrals by the contact
ID of the list this contact belongs to
Whether the contact is verified
Whether the contact has unsubscribed
Custom data associated with the contact
Contact's address
Whether the contact has GDPR consent
Full name of the contact
Instagram handle
Twitter handle
Personal website URL
Company name
Country of residence
City of residence
Associated list information
Audiences this contact belongs to
Contact's referral link
Contact's private subscriber page URL
Position in the list ranking
curl --request GET \
--url https://wt.ls/api/v4/contacts/{id} \
--header 'apiKey: <api-key>'
{
"data": {
"contact": {
"id": "<string>",
"email": "<string>",
"firstName": "<string>",
"lastName": "<string>",
"phoneNumber": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"points": 123,
"referrals": 123,
"listId": "<string>",
"isVerified": true,
"unsubscribed": true,
"customData": {},
"address": "<string>",
"isGDPR": true,
"name": "<string>",
"instagram": "<string>",
"twitter": "<string>",
"website": "<string>",
"company": "<string>",
"country": "<string>",
"city": "<string>",
"list": {},
"audiences": [
"<any>"
],
"referralLink": "<string>",
"privateLink": "<string>",
"position": 123
}
}
}