Skip to main content

Get Custom Field

Retrieve a specific custom field by UUID.

Request

GET /custom-fields/{uuid}

Path Parameters

ParameterTypeDescription
uuidstringField's UUID

Example Request

curl -X GET "https://email.easy.tools/api/v1/custom-fields/field-uuid-123" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Accept: application/json"

Response

Success Response (200 OK)

{
"data": {
"uuid": "field-uuid-123",
"field_key": "company",
"name": "Company",
"type": "text",
"options": null,
"created_at": "2025-01-15T10:30:00Z"
}
}

Response Fields

FieldTypeDescription
uuidstringField's unique identifier
field_keystringUnique key for the field
namestringDisplay name
typestringField type
optionsarray|nullOptions for select fields, null for other types
created_atstringISO 8601 timestamp (UTC)

Error Responses

Not Found Error (404)

{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Custom field not found"
}
}