Easymailing
Contact attributes

Get a contact attribute

GET /contact_attributes/{uuid}

GET/contact_attributes/{uuid}

Returns one contact attribute with its type, public code, status, version and options.

When to use: When you know the UUID and need the current version before updating, archiving or restoring it, or the full list of its options.

When not to use: To discover which attributes exist, use list_contact_attributes; it returns all of them in one call.

Permissions: Requires the contacts.read capability.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the contact attribute. Get it from list_contact_attributes.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/contact_attributes/3f6d2a9c-7b1e-4d58-a0c4-9e2b6f1d8c35" \  -H "X-Auth-Token: YOUR_API_KEY"
{  "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",  "name": "string",  "description": "string",  "public_code": "string",  "type": "text",  "currency": null,  "status": "active",  "position": 0,  "version": 0,  "current_value_count": 0,  "ever_used": true,  "options": [    {      "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",      "label": "string",      "color": "string",      "integration_key": "string",      "position": 0,      "status": "active"    }  ]}