List excluded sources
Lists the domains and social media authors a project no longer collects from.
GET https://cotlet.dev/api/v1/brand24/projects/{project_id}/excluded-sources
read
Returns what the project settings show under the Sources tab. Exclusions apply to one project, so run it for each project you clean.
Parameters
| Name | Type | Description |
|---|---|---|
| project_id integer required | integer | Project ID from list_projects. |
Request
curl https://cotlet.dev/api/v1/brand24/projects/1/excluded-sources \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("brand24", "list_excluded_sources", {"project_id":1}) const result = await cotlet.call('brand24', 'list_excluded_sources', {"project_id":1}); cotlet call brand24 list_excluded_sources --data '{"project_id":1}' Example response
{
"excluded": [
{
"type": "domain",
"value": "old-coupons.example"
},
{
"type": "author",
"value": "@dailydealz"
}
]
}