Appearance
Retrieve a contact property
Fetch one property by its id.
http
GET /v1/contact-properties/{id}Requires a Full access API key.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The contact property id. |
Example
bash
curl "https://api.sendgrail.com/v1/contact-properties/$PROPERTY_ID" \
-H "Authorization: Bearer $SENDGRAIL_API_KEY"js
const res = await fetch(
`https://api.sendgrail.com/v1/contact-properties/${id}`,
{ headers: { Authorization: `Bearer ${process.env.SENDGRAIL_API_KEY}` } },
);
const property = await res.json();Response
json
{
"object": "contact_property",
"id": "b6d24b8e-af0b-4c3c-be0c-359bbd97381e",
"key": "company_name",
"type": "string",
"fallback_value": "Acme Corp",
"created_at": "2026-07-14T19:44:32+00:00"
}A property belonging to another team answers 404, not 403 — an id that isn't yours is an id that doesn't exist, as far as your key is concerned.
json
{
"message": "No contact property with the id b6d24b8e-af0b-4c3c-be0c-359bbd97381e.",
"code": "not_found",
"request_id": "8f2c1e64-1b17-4f8c-9f0e-3b6c1e0f5c31"
}