Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Retrieve a single contact by ID or email

GET/contacts/{id}Retrieve a single contact by ID or email

Parameters

idstringpathrequired

The Contact ID or email address.

Responses

200OKapplication/json
objectGetContactResponseSuccess
created_atstring · date-time

Timestamp indicating when the contact was created.

emailstring

Email address of the contact.

first_namestring

First name of the contact.

idstring

Unique identifier for the contact.

last_namestring

Last name of the contact.

objectstring

Type of the response object.

propertiesobject

A map of custom property keys and values.

unsubscribedboolean

Indicates if the contact is unsubscribed.

Example response
{
  "created_at": "2023-10-06T23:47:56.678Z",
  "email": "steve.wozniak@gmail.com",
  "first_name": "Steve",
  "id": "e169aa45-1ecf-4183-9955-b1499d5701d3",
  "last_name": "Wozniak",
  "object": "contact",
  "properties": {
    "additionalProp1": null
  },
  "unsubscribed": false
}
Documentation menu