Documentation Index
Fetch the complete documentation index at: https://docs.encrata.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
Requires an API key in the Authorization header.
Authorization: Bearer YOUR_API_KEY
List all lists
GET /api/lists
Filter lists by type. Valid values: email, phone, domain, ip, company, darkweb.If omitted, returns all lists regardless of type.
Example request
curl "https://encrata.com/api/lists?type=domain" \
-H "Authorization: Bearer YOUR_API_KEY"
Response
Returns an array of list objects.
[
{
"id": "d4e5f6a7-...",
"name": "Priority Domains",
"list_type": "domain",
"email_count": 15,
"created_at": "2026-05-01T10:00:00Z",
"updated_at": "2026-05-10T14:30:00Z"
}
]
Unique list identifier (UUID).
The type of targets in this list: email, phone, domain, ip, company, or darkweb.
Number of targets in the list.
ISO 8601 timestamp of last modification.
Create a list
POST /api/lists
A display name for the list.
The type of targets. Default: email. Valid values: email, phone, domain, ip, company, darkweb.
Initial targets to add (legacy field, works for all types).
Example request
curl -X POST https://encrata.com/api/lists \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"name": "Competitor Domains",
"type": "domain",
"targets": ["competitor1.com", "competitor2.io", "rival.co"]
}'
Response
Returns the created list object with status 201.
{
"id": "d4e5f6a7-...",
"name": "Competitor Domains",
"list_type": "domain",
"email_count": 3,
"created_at": "2026-05-15T10:00:00Z",
"updated_at": "2026-05-15T10:00:00Z"
}
Get a list
GET /api/lists/{id}
Returns a single list by ID.
curl https://encrata.com/api/lists/d4e5f6a7-... \
-H "Authorization: Bearer YOUR_API_KEY"
Delete a list
DELETE /api/lists/{id}
Deletes a list and all its targets. Returns 204 No Content.
curl -X DELETE https://encrata.com/api/lists/d4e5f6a7-... \
-H "Authorization: Bearer YOUR_API_KEY"
Manage list targets
List targets
GET /api/lists/{id}/emails
Returns an array of target strings in the list.
curl https://encrata.com/api/lists/d4e5f6a7-.../emails \
-H "Authorization: Bearer YOUR_API_KEY"
["competitor1.com", "competitor2.io", "rival.co"]
Add targets
POST /api/lists/{id}/emails
Targets to add. Duplicates are ignored.
curl -X POST https://encrata.com/api/lists/d4e5f6a7-.../emails \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"emails": ["newdomain.com"]}'
Remove targets
DELETE /api/lists/{id}/emails
Targets to remove from the list.
curl -X DELETE https://encrata.com/api/lists/d4e5f6a7-.../emails \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"emails": ["competitor2.io"]}'