Skip to main content

Get List

Retrieve a specific list by UUID, including contact count.

Request

GET /lists/{uuid}

Path Parameters

ParameterTypeDescription
uuidstringList's UUID

Example Request

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

Response

Success Response (200 OK)

{
"data": {
"uuid": "list-uuid-123",
"name": "Newsletter Subscribers",
"description": "Main newsletter list",
"is_public": true,
"contacts_count": 150,
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:30:00Z"
}
}

Response Fields

FieldTypeDescription
uuidstringList's unique identifier
namestringList name
descriptionstring|nullPublic description
is_publicbooleanWhether the list is public
contacts_countintegerNumber of contacts in the list
created_atstringISO 8601 timestamp (UTC)
updated_atstringISO 8601 timestamp (UTC)

Error Responses

Not Found Error (404)

{
"error": {
"code": "RESOURCE_NOT_FOUND",
"message": "List with uuid 'list-uuid-123' not found"
}
}