Custom fields
Get a custom field
GET /audiences/{audienceUuid}/list_fields/{uuid}
GET
/audiences/{audienceUuid}/list_fields/{uuid}Returns one custom field with its type, tag, template_tag, required and public flags, translations and, for select fields, its options.
When to use: To check the type and options of a field before writing values to members.
When not to use: To see all the fields of the audience, use list_audience_custom_fields.
Permissions: Requires the manager role or higher, or the marketing.audiences.read capability.
X-Auth-Token<token>
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
audienceUuid*string
UUID of the audience the custom field belongs to. Get it from list_audiences.
uuid*string
UUID of the custom field. Get it from list_audience_custom_fields.
Response Body
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/audiences/0df14405-90ff-4287-b3e4-ef088901ee6f/list_fields/5e8a1c30-2b94-4f6d-a7c1-9d0e4b3f8a15" \ -H "X-Auth-Token: YOUR_API_KEY"{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "tag": "string", "template_tag": "string", "public": true, "required": true, "type": "list.field.type.text", "translations": [ { "label": "string", "default_value": "string", "help_text": "string", "locale": "string" } ], "options": { "property1": "string", "property2": "string" }, "list_field_options": [ { "value": "string", "translations": [ { "name": "string", "locale": "string" } ] } ], "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}