Get Custom Field
Retrieve a specific custom field by UUID.
Request
GET /custom-fields/{uuid}
Path Parameters
| Parameter | Type | Description |
|---|---|---|
uuid | string | Field'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
| Field | Type | Description |
|---|---|---|
uuid | string | Field's unique identifier |
field_key | string | Unique key for the field |
name | string | Display name |
type | string | Field type |
options | array|null | Options for select fields, null for other types |
created_at | string | ISO 8601 timestamp (UTC) |
Error Responses
Not Found Error (404)
{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "Custom field not found"
}
}