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

Parameters: list_excluded_sources
NameTypeDescription
project_id integer required integer Project ID from list_projects.

Request

cURL
curl https://cotlet.dev/api/v1/brand24/projects/1/excluded-sources \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("brand24", "list_excluded_sources", {"project_id":1})
Node.js
const result = await cotlet.call('brand24', 'list_excluded_sources', {"project_id":1});
CLI
cotlet call brand24 list_excluded_sources --data '{"project_id":1}'

Example response

JSON

{
  "excluded": [
    {
      "type": "domain",
      "value": "old-coupons.example"
    },
    {
      "type": "author",
      "value": "@dailydealz"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.