Get Contact
Retrieve a single contact by ID using a query parameter.
GET
/v2/contacts
Query Parameters
id uuid
Required
The contact ID to retrieve.
cURl example
curl -X GET 'https://lunarsend.com/api/v2/contacts?id=003822b9-cfde-43d7-ae41-c36bf6bdebbc' \
-H 'x-api-key: $LUNARSEND_API_KEY' \
-H 'Accept: application/json'Response
[
{
success: true,
id: "003822b9-cfde-43d7-ae41-c36bf6bdebbc",
data: {
email: "joe@example.com",
phone: "+12025550123",
company: null,
created_at: "2025-10-04T14:17:28.266864+00:00",
id: "003822b9-cfde-43d7-ae41-c36bf6bdebbc",
user_id: "77f463d7-4107-1957-8b71-ab03acc319a2",
owner: "John",
last_activity: null,
last_name: "Doe",
job_title: null,
notes: "",
first_name: "Joe",
},
},
]Response Fields
| Field | Type | Status | Format | Notes |
|---|---|---|---|---|
| status | enum successerror | required | - | - |
| id | string (uuid) - The ID from the request | read-only optional | uuid | Server-assigned UUID. |
| error | string - Error description (only present on error) | required | - | - |
| data | object | required | - | - |
| data.id | string (uuid) | read-only optional | uuid | Server-assigned UUID. |
| data.user_id | string (uuid) | required | uuid | - |
| data.email | string | required | - | |
| data.phone | string (phone) | optional nullable | phone | - |
| data.company | string | optional nullable | - | - |
| data.first_name | string | required | - | - |
| data.last_name | string | optional nullable | - | - |
| data.job_title | string | optional nullable | - | - |
| data.owner | string | read-only optional | - | Display owner name (server-assigned). |
| data.notes | string | optional nullable | - | - |
| data.last_activity | string (ISO 8601) | read-only optional nullable | date-time | Updated by the system. |
| data.created_at | string (ISO 8601) | read-only optional | date-time | Server-assigned. |