Skip to main content

Methods

Get

Retrieves a contact by ID or email address.

GetWithContext

Retrieves a contact by ID or email address with context support.

Parameters

GetContactOptions

string
Optional - Omit for global contacts. Include to retrieve an audience-specific contact.
string
required
The contact ID or email address to retrieve

Response

Contact

string
The unique identifier for the contact
string
The contact’s email address
string
Object type (“contact”)
string
The contact’s first name
string
The contact’s last name
string
Timestamp when the contact was created
bool
Whether the contact has unsubscribed from emails
map[string]any
Custom properties for global contacts. Currently, the API only returns string values.

Examples

Get Global Contact by ID

Get Global Contact by Email

Get Audience Contact

With Context and Properties

Notes

  • The Id field accepts either a contact ID or email address
  • Omit AudienceId to retrieve global contacts
  • Include AudienceId to retrieve audience-specific contacts