Skip to content

mail_contact_get

Get a single contact by id

Tool

mail_contact_get

Get a single contact by id

Get a single contact by id

Behavior

HTTP
GET /mail/audiences/:audienceId/contacts/:id

Arguments

Name
Type
Required
Description
id
string
•
Contact id
audience_id
string
•
Audience id

Response

Field
Type
Always
Description
id
string
•
Contact id
email
string
•
Contact email address, normalized to lowercase
createdAt
string
•
When the contact was created (ISO 8601 UTC)
updatedAt
string
•
When the contact was last modified (ISO 8601 UTC)
audienceId
string
•
Audience the contact belongs to
properties
string
—
Custom key/value properties (e.g. first_name, last_name)
unsubscribed
boolean
•
Marketing opt-out flag for this audience

Try it

Get a single contact by id.

When to use

Get a single contact by id

Example

Ask your agent something like this:

Get a single contact by id.

The agent will invoke mail_contact_get with these arguments:

{
  "id": "<id>",
  "audience_id": "<audience_id>"
}

Esc

Start typing to search the docs.

↑↓navigate↵select