Skip to main content
GET
/
v2
/
campaigns
/
{campaignId}
/
agent-source-restrictions
Get agent source restrictions
curl --request GET \
  --url https://api.carecycle.ai/v2/campaigns/{campaignId}/agent-source-restrictions \
  --header 'x-api-key: <api-key>'
{
  "restrictions": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "createdAt": "<unknown>",
      "updatedAt": "<unknown>",
      "campaignId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "sourceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "campaignName": "<string>",
      "memberName": "<string>",
      "sourceName": "<string>"
    }
  ]
}
Agent Source Restrictions allow you to block specific members from receiving calls for a given Campaign routing configuration. When a restriction is in place, the routing system will skip that member when distributing calls from the restricted source.

Authorizations

x-api-key
string
header
required

API key required for authentication.

Keys begin with 'cc_' prefix. Get your API key from the Developer Dashboard.

Path Parameters

campaignId
string<uuid>
required

Campaign ID

Response

GET /v2/campaigns/:campaignId/agent-source-restrictions Positive response

restrictions
object[]
required

Array of agent source restrictions