Get one attribute definition by id
Returns one attribute definition by id, or 404 not_found when the id
is not an attribute in this org.
Path parameters
id string<uuid> required Resource UUID. An unparseable id reads as a clean 404 not_found.
Responses
Errors follow the RFC 7807 problem format — see the error reference.
id string<uuid> required name string required Lowercase identifier; referenced in SendQL as attr.<name>.
type string enum required One of: string, number, bool, datetime, enum
enum_values array<string> optional Allowed values when type is enum; omitted otherwise.
description string required formula string optional For a derived attribute (SND-1067): the aggregate expression SendOps
computes over the contact's event/activity stream, e.g. exists(send),
count(activity.order), last(open). Present only for derived attributes;
their value is maintained by SendOps (read-only) and type is inferred
(exists→bool, count→number, first/last→datetime).
origin string enum optional Where the attribute is authored: managed (via the API/dashboard) or
git (synced from a connected repo and read-only via the API).
One of: managed, git
source_path string optional Repo-relative source file, for git-backed attributes only.
last_synced_at string<date-time> optional Time of the last git sync, for git-backed attributes only.
created_at string<date-time> required updated_at string<date-time> required code is internal_error. The
request_id field can be quoted to SendOps support to investigate.
application/problem+json