curl "https://api.affonso.io/v1/discovery/agents?page=1&limit=50" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"data": [
{
"id": "cmn4agt0001xk92hf6d0abcd",
"name": "Newsletter partners",
"website": "https://example.com",
"product_brand": "Example Mail, email marketing for small shops",
"audience": "Owners of small online shops who send a weekly newsletter.",
"language": "en",
"channel": "websites",
"exclude_groups": ["directories", "marketplaces"],
"keywords": ["email marketing for small business"],
"competitors": ["https://example.org"],
"lookalikes": [],
"sources": [
{
"id": "cmn4src0001xk92hf6d0abcd",
"type": "topic",
"value": "email marketing for small business",
"website": null,
"created_at": "2026-11-02T09:00:00.000Z",
"updated_at": "2026-11-02T09:00:00.000Z"
},
{
"id": "cmn4src0002xk92hf6d0abcd",
"type": "competitor",
"value": "example.org",
"website": "https://example.org",
"created_at": "2026-11-02T09:00:00.000Z",
"updated_at": "2026-11-02T09:00:00.000Z"
}
],
"can_start": true,
"auto_approve": false,
"schedulable": true,
"paused_at": null,
"archived_at": null,
"latest_run": {
"id": "cmn4run0001xk92hf6d0abcd",
"status": "completed",
"started_at": "2026-11-03T06:00:00.000Z"
},
"created_at": "2026-11-02T09:00:00.000Z",
"updated_at": "2026-11-02T09:15:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 50,
"total": 1,
"total_pages": 1,
"has_next_page": false,
"has_prev_page": false
}
}
Agents
List agents
List your team’s Discovery Agents
GET
/
v1
/
discovery
/
agents
curl "https://api.affonso.io/v1/discovery/agents?page=1&limit=50" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"data": [
{
"id": "cmn4agt0001xk92hf6d0abcd",
"name": "Newsletter partners",
"website": "https://example.com",
"product_brand": "Example Mail, email marketing for small shops",
"audience": "Owners of small online shops who send a weekly newsletter.",
"language": "en",
"channel": "websites",
"exclude_groups": ["directories", "marketplaces"],
"keywords": ["email marketing for small business"],
"competitors": ["https://example.org"],
"lookalikes": [],
"sources": [
{
"id": "cmn4src0001xk92hf6d0abcd",
"type": "topic",
"value": "email marketing for small business",
"website": null,
"created_at": "2026-11-02T09:00:00.000Z",
"updated_at": "2026-11-02T09:00:00.000Z"
},
{
"id": "cmn4src0002xk92hf6d0abcd",
"type": "competitor",
"value": "example.org",
"website": "https://example.org",
"created_at": "2026-11-02T09:00:00.000Z",
"updated_at": "2026-11-02T09:00:00.000Z"
}
],
"can_start": true,
"auto_approve": false,
"schedulable": true,
"paused_at": null,
"archived_at": null,
"latest_run": {
"id": "cmn4run0001xk92hf6d0abcd",
"status": "completed",
"started_at": "2026-11-03T06:00:00.000Z"
},
"created_at": "2026-11-02T09:00:00.000Z",
"updated_at": "2026-11-02T09:15:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 50,
"total": 1,
"total_pages": 1,
"has_next_page": false,
"has_prev_page": false
}
}
Returns your team’s Discovery Agents, newest first. Deleted agents are not included. Requires the
read:discovery permission.
Query Parameters
Response
Discovery Agents. Each item has the same fields as Get an agent.
Show Agent fields
Show Agent fields
Website categories the agent leaves out of results:
directories, marketplaces, social_networks, news, review_sites.Lookalike page URLs. Managed with Update lookalikes.
Every saved source, oldest first.
When
true, newly delivered prospects are approved automatically and queued for contact enrichment.Errors
- 400
VALIDATION_ERROR: a query parameter is invalid. The message isInvalid requestanddetailslists the invalid fields. - 403
INSUFFICIENT_PERMISSIONS: the API key does not have theread:discoverypermission.
curl "https://api.affonso.io/v1/discovery/agents?page=1&limit=50" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"data": [
{
"id": "cmn4agt0001xk92hf6d0abcd",
"name": "Newsletter partners",
"website": "https://example.com",
"product_brand": "Example Mail, email marketing for small shops",
"audience": "Owners of small online shops who send a weekly newsletter.",
"language": "en",
"channel": "websites",
"exclude_groups": ["directories", "marketplaces"],
"keywords": ["email marketing for small business"],
"competitors": ["https://example.org"],
"lookalikes": [],
"sources": [
{
"id": "cmn4src0001xk92hf6d0abcd",
"type": "topic",
"value": "email marketing for small business",
"website": null,
"created_at": "2026-11-02T09:00:00.000Z",
"updated_at": "2026-11-02T09:00:00.000Z"
},
{
"id": "cmn4src0002xk92hf6d0abcd",
"type": "competitor",
"value": "example.org",
"website": "https://example.org",
"created_at": "2026-11-02T09:00:00.000Z",
"updated_at": "2026-11-02T09:00:00.000Z"
}
],
"can_start": true,
"auto_approve": false,
"schedulable": true,
"paused_at": null,
"archived_at": null,
"latest_run": {
"id": "cmn4run0001xk92hf6d0abcd",
"status": "completed",
"started_at": "2026-11-03T06:00:00.000Z"
},
"created_at": "2026-11-02T09:00:00.000Z",
"updated_at": "2026-11-02T09:15:00.000Z"
}
],
"pagination": {
"page": 1,
"limit": 50,
"total": 1,
"total_pages": 1,
"has_next_page": false,
"has_prev_page": false
}
}
Was this page helpful?
