Get contact

One contact with email, name, permission to send, lists and tags.

GET https://cotlet.dev/api/v1/constant-contact/contacts/{contact_id}

read

Returns the contact as its page in Contacts shows it, with the names of the lists it belongs to and its tags. Use it to check permission_to_send and list membership before you add or mail someone. A contact belongs to at most 50 lists.

Parameters

Parameters: get_contact
NameTypeDescription
contact_id string required string Contact ID from list_contacts or list_email_contacts.

Request

cURL
curl https://cotlet.dev/api/v1/constant-contact/contacts/contact_8c41d2 \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("constant-contact", "get_contact", {"contact_id":"contact_8c41d2"})
Node.js
const result = await cotlet.call('constant-contact', 'get_contact', {"contact_id":"contact_8c41d2"});
CLI
cotlet call constant-contact get_contact --data '{"contact_id":"contact_8c41d2"}'

Example response

JSON

{
  "contact_id": "c1a2b3d4-0001-4e5f-8a9b-1c2d3e4f5a01",
  "email": "lena.ortiz@example.com",
  "first_name": "Lena",
  "last_name": "Ortiz",
  "permission_to_send": "implicit",
  "lists": [
    "Tenants",
    "Newsletter"
  ],
  "tags": [
    "2026 renewal"
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.