Version 0.1.5
Authorization request header which authenticates the user and restricts access to only that user’s data.application/json).limit and offset query string parameters.Authentication with the API is performed by including your API Token (issued by PerformLine) in all API
requests using the Authorization header like so:
Authorization: Token XXXXXXXXXXXXXXXXXXX
The API responds to all requests with a standardized response structure that resembles the following:
{
For endpoints that return multiple results (e.g.: queries), the Results key will be an array of objects. For endpoints returning individual items, the key will contain an object.
The PerformLine API uses conventional HTTP response codes to indicate success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that resulted from the provided information (e.g. a required parameter was missing, the requested resource is missing, etc.), and codes in the 5xx range indicate an error with PerformMatch API servers. A typical error response will be a JSON object that resembles the following:
{
Below is the documentation for all supported API endpoints in the PerformLine Customer API.
ID of the asset.
StringAll of the violations that are overridden on a page.
NullableThe page entity ID (e.g., PLE7C3A6DQ7JAWFH234TECONWV5E) or legacy page ID.
StringThe page entity ID.
StringArray of override entries for this page. Each entry contains rule_id, term_id, reason, notes, override_score, highlight, username, created_at, qualifier_term_id, and qualifier_term_index.
ArrayReturned when the page does not exist.
The scorable content.
StringList of tags applied to the content.
ListThe index of the term in the content.
IntegerStart index of the term in the content.
IntegerEnd index of the term in the content.
IntegerThe term that is overridden.
StringID of the rule associated with the term.
IntegerName of the rule associated with the term.
StringType of rule (e.g., banned, required).
StringID of the term.
IntegerIndicates whether the term is a trigger for the rule.
BooleanUnique identifier for this audit entry.
StringTitle of the case.
StringCase number.
StringTimestamp of when the audit entry was created.
DateTimeEmail of the user who made the transition.
StringInitial state of the case.
StringFinal state of the case.
StringComma-separated list of document IDs related to this case.
StringEmail of the case creator.
StringEmail of the case assignee.
String| Parameter | Description | Example |
|---|---|---|
limit |
Limits the number of results per request. |
?limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
Unique identifier for this brand.
IntegerThe brand's name.
String
{
Unique identifier for this brand.
IntegerThe brand's name.
String| Parameter | Description | Example |
|---|---|---|
rule_type |
Filters the results by rule type: banned, required, conditionalBanned, conditionalRequired, spotlight |
?rule_type=conditionalBanned
|
Unique identifier for this rule.
IntegerThe Rule's name.
StringThe weight of the Rule.
String| Parameter | Description | Example |
|---|---|---|
brand |
Restrict results to the given Brand ID(s). |
?brand=11,13
|
limit |
Limits the number of results per request. |
&limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
Unique identifier for this campaign.
IntegerThe name of the campaign.
StringA description of the campaign.
StringThe Brand this campaign belongs to.
IntegerThe Company this campaign belongs to.
Integer
{
Unique identifier for this campaign.
IntegerThe name of the campaign.
StringA description of the campaign.
StringThe Brand this campaign belongs to.
IntegerThe Company this campaign belongs to.
Integer| Parameter | Description | Example |
|---|---|---|
rule_type |
Filters the results by rule type: banned, required, conditionalBanned, conditionalRequired, spotlight |
?rule_type=conditionalBanned
|
Unique identifier for this rule.
IntegerThe Rule's name.
StringThe weight of the Rule.
String| Parameter | Description | Example |
|---|---|---|
rule_type |
Filters the results by rule type: banned, required, conditionalBanned, conditionalRequired, spotlight |
?rule_type=conditionalBanned
|
Unique identifier for this rule.
IntegerThe Rule's name.
StringThe weight of the Rule.
String
Unique identifier for this rule.
IntegerThe Rule's name.
StringThe method of the Rule.
StringThe weight of the Rule.
StringNote specific to this rule.
StringThe rule category ID for the associated terms.
IntegerThe terms of the Rule and their details.
Array| Parameter | Description | Example |
|---|---|---|
limit |
Limits the number of results per request. |
?limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
Unique identifier for this traffic source.
IntegerThe name of the traffic source.
StringThe Company this traffic source belongs to.
Integer
{
Unique identifier for this traffic source.
IntegerThe name of the traffic source.
StringThe Company this traffic source belongs to.
Integer| Parameter | Description | Example |
|---|---|---|
campaign_id |
Campaign Id for upload. |
1193
|
uploader_email |
Uploader email. |
bob@performline.com
|
internal_id |
Your internal Id used to identify uploaded entity. |
B4ZF9CMHB5NYCA
|
ocr_engine |
Optional OCR engine to use for document processing. Valid options: "textract" or "document_ai" (case insensitive). If not specified, the default OCR engine from campaign settings will be used. |
textract
|
dynamic_rules |
Optional array of rule IDs to apply dynamically to this upload. |
[123, 456, 789]
|
| Parameter | Description | Example |
|---|---|---|
file_data | File binary data (required). | {binary data} |
file_name | Name of the file being uploaded (required). | example.pdf |
file_type | MIME type of the file (required). | application/pdf |
campaign_id | Campaign Id for upload (required). | 1234 |
uploader_email | Uploader email (required). | user@example.com |
webhook_url | Webhook URL to notify after upload (optional). | https://webhook-test.com/your-webhook-id |
webhook_headers |
Array of custom headers for webhook notification (optional). Each header should be an object with key and value fields.
|
[
{ "key": "X-Header-12345", "value": "67890" },
{ "key": "X-Header-ABCDE", "value": "FGHIJ" }
]
|
title | Title for the document (optional). | Test Document |
internal_id | Your internal Id used to identify uploaded entity (optional). | ABC123 |
request_type | Type of request (optional). | integrations_compliance_alert_1 |
ocr_engine | Optional OCR engine to use for document processing. Valid options: "textract" or "document_ai" (case insensitive). If not specified, the default OCR engine from campaign settings will be used. | textract |
dynamic_rules | Optional array of rule IDs to apply dynamically to this upload. Can be JSON array or comma-separated values. | [123, 456, 789] |
{
"Status": "success",
"StatusCode": 200,
"ServiceName": "",
"Results": {
"EntityId": "PLXXXXXX...",
"Title": "Test Document"
}
}
| Parameter | Description | Example |
|---|---|---|
brand |
Restrict results to the given Brand ID(s). |
?brand=11,13
|
campaign |
Restrict results to the given Campaign ID(s). |
&campaign=3
|
created_to |
Restrict results to pages created till created_to date. |
&created_to=2018-01-31 or 30 days
|
created_from |
Restrict results to pages created after created_from date. |
&created_from=2018-01-01 or 60 days
|
scored_to |
Restrict results to pages scored till scored_to date. |
&scored_to=2018-01-31 or 30 days
|
scored_from |
Restrict results to pages scored after scored_from date. |
&scored_from=2018-01-01 or 60 days
|
max_score |
Restrict results to score less than max_score |
&max_score=80
|
min_score |
Restrict results to score greater than min_score |
&min_score=30
|
remediation_status |
Restrict results to the given Remediation Status(es). |
&remediation_status=In Progress
|
limit |
Limits the number of results per request. |
&limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
{
Unique identifier for this item.
IntegerThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe name of the Traffic Source the item belongs to.
StringThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe URL of the item being monitored (if applicable).
StringThe date/time the item was last scored.
TimeThe current remediation status.
StringList of tags associated with this object.
OtherThe call center rep id/agent (if applicable).
StringThe call length (if applicable).
String
{
Unique identifier for this item.
IntegerThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe name of the Traffic Source the item belongs to.
StringThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe URL of the item being monitored (if applicable).
StringThe date/time the item was last scored.
TimeThe current remediation status.
StringList of tags associated with this object.
OtherThe call center rep id/agent (if applicable).
StringThe call length (if applicable).
String
{
Unique identifier for the requested Page.
IntegerStatus of workflow.
StringOwner of workflow.
StringDate workflow should be completed.
TimeNote for workflow
StringUser who created this workflow
StringDate/time that this workflow was created
Time| Parameter | Description | Example |
|---|---|---|
brand |
Restrict results to the given Brand ID(s). |
?brand=11,13
|
campaign |
Restrict results to the given Campaign ID(s). |
&campaign=3
|
created_to |
Restrict results to pages created till created_to date. |
&created_to=2018-01-31 or 30 days
|
created_from |
Restrict results to pages created after created_from date. |
&created_from=2018-01-01 or 60 days
|
scored_to |
Restrict results to pages scored till scored_to date. |
&scored_to=2018-01-31 or 30 days
|
scored_from |
Restrict results to pages scored after scored_from date. |
&scored_from=2018-01-01 or 60 days
|
max_score |
Restrict results to score less than max_score |
&max_score=80
|
min_score |
Restrict results to score greater than min_score |
&min_score=30
|
remediation_status |
Restrict results to the given Remediation Status(es). |
&remediation_status=In Progress
|
tags |
Restrict results to the given Tag(s). |
&tags=red,blue
|
limit |
Limits the number of results per request. |
&limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
{
Unique identifier for this item.
IntegerThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe name of the Traffic Source the item belongs to.
StringThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe URL of the item being monitored (if applicable).
StringThe date/time the item was last scored.
TimeThe current remediation status.
StringList of tags associated with this object.
OtherThe call center rep id/agent (if applicable).
StringThe call length (if applicable).
String
{
Unique identifier for this item.
IntegerThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe name of the Traffic Source the item belongs to.
StringThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe URL of the item being monitored (if applicable).
StringThe date/time the item was last scored.
TimeWhether or not an asset has been reviewed.
BooleanThe current remediation status.
StringList of tags associated with this object.
OtherThe call center rep id/agent (if applicable).
StringThe call length (if applicable).
String
[Binary PDF data]
PNG data containing the web page image.
Binary| Parameter | Description | Example |
|---|---|---|
brand |
Restrict results to the given Brand ID(s). |
?brand=1187,1378
|
campaign |
Restrict results to the given Campaign ID(s). |
&campaign=1733
|
created_to |
Restrict results to documents created till created_to date. |
&created_to=2018-01-31 or 30 days
|
created_from |
Restrict results to documents created after created_from date. |
&created_from=2018-01-01 or 60 days
|
scored_to |
Restrict results to documents scored till scored_to date. |
&scored_to=2018-01-31 or 30 days
|
scored_from |
Restrict results to documents scored after scored_from date. |
&scored_from=2018-01-01 or 60 days
|
max_score |
Restrict results to score less than max_score |
&max_score=80
|
min_score |
Restrict results to score greater than min_score |
&min_score=30
|
state |
Restrict results to documents in a specific state. Valid values: unprocessed, processing, completed, failed. |
&state=processing
|
limit |
Limits the number of results per request. |
&limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
Unique identifier for this item.
StringDocument title.
StringDocument score.
Integer
{
Unique identifier for this item.
StringDocument title.
StringNumber of pages.
IntegerThe score (out of 100) of the item.
IntegerThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerDocument mime type: pdf, docx, jpg.
StringUploader username.
StringUpload date.
TimeList of cases associated with this document.
OtherThe date/time the item was last scored.
Timeemail or user
String
[Binary PDF data]
Binary PDF data containing the compliance alert report.
Binary
{
Document entity ID.
StringID of the Term within this violation.
IntegerTerm type.
StringThe Term's name.
StringID of Rule that the term is in.
IntegerName of Rule.
StringType of Rule (Required, Banned, etc).
StringNumber of occurrences.
IntegerDatetime that this violation occurred.
TimeIf enabled within brand, the amount of points this violation deducted.
FloatNumber of occurrences.
Integer| Parameter | Description | Example |
|---|---|---|
brand |
Restrict results to the given Brand ID(s). |
?brand=1187,1378
|
campaign |
Restrict results to the given Campaign ID(s). |
&campaign=1733
|
created_to |
Restrict results to cases created till created_to date. |
&created_to=2018-01-31 or 30 days
|
created_from |
Restrict results to cases created after created_from date. |
&created_from=2018-01-01 or 60 days
|
state |
Restrict results to cases in specific state. |
&state=Opened
|
expired |
Restrict results to expired or unexpired cases. |
&expired=true
|
owner |
Restrict results to owner of the case. |
&owner=bob@performline.com
|
limit |
Limits the number of results per request. |
&limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
Unique identifier for this item.
StringCase title.
String
{
Unique identifier for this item.
StringCase Number.
StringCase title.
StringCase Description.
StringCase Queue.
StringCase State.
StringCase Owner.
StringCase update date/time.
TimeCase create date/time.
Time
{
Unique identifier for the requested Page.
IntegerStatus of workflow.
StringOwner of workflow.
StringDate workflow should be completed.
TimeNote for workflow
StringUser who created this workflow
StringDate/time that this workflow was created
Time
{
Unique identifier for the requested Page.
IntegerThe raw content that gets scored.
String
{
Unique identifier for this violation.
IntegerID of the Term within this violation.
IntegerThe Term's name.
StringID of Rule that the term is in.
IntegerName of Rule.
StringType of Rule (Required, Banned, etc).
StringID of the page associated with this violation.
IntegerNumber of occurrences.
IntegerDatetime that this violation occurred.
TimeIf enabled within brand, the amount of points this violation deducted.
IntegerIf rule is set up for stereo calls, can be Agent or Caller.
StringID of the brand associated with this violation.
StringID of the company associated with this violation.
StringTimestamps for occurrences of this violation, in seconds (Call center only).
Other| Parameter | Description | Example |
|---|---|---|
brand |
Restrict results to the given Brand ID(s). |
?brand=11,13
|
campaign |
Restrict results to the given Campaign ID(s). |
&campaign=3
|
created_to |
Restrict results to pages created till created_to date. |
&created_to=2018-01-31 or 30 days
|
created_from |
Restrict results to pages created after created_from date. |
&created_from=2018-01-01 or 60 days
|
scored_to |
Restrict results to pages scored till scored_to date. |
&scored_to=2018-01-31 or 30 days
|
scored_from |
Restrict results to pages scored after scored_from date. |
&scored_from=2018-01-01 or 60 days
|
max_score |
Restrict results to score less than max_score |
&max_score=80
|
min_score |
Restrict results to score greater than min_score |
&min_score=30
|
remediation_status |
Restrict results to the given Remediation Status(es). |
&remediation_status=In Progress
|
limit |
Limits the number of results per request. |
&limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
{
Unique identifier for this item.
IntegerThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe date/time the item was last scored.
TimeThe current remediation status.
StringList of tags associated with this object.
OtherThe call center rep id/agent (if applicable).
StringThe call length (if applicable).
StringThe original call ID.
StringThe ID of the inquiry.
StringThe date/time that the call was recorded.
StringOriginal call file location.
String
{
Unique identifier for this item.
IntegerThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe date/time the item was last scored.
TimeWhether or not an asset has been reviewed.
BooleanThe current remediation status.
StringList of tags associated with this object.
OtherThe call center rep id/agent (if applicable).
StringThe call length (if applicable).
StringThe original call ID.
StringThe ID of the inquiry.
StringThe date/time that the call was recorded.
StringOriginal call file location.
String
{
Unique identifier for the requested Page.
IntegerStatus of workflow.
StringOwner of workflow.
StringDate workflow should be completed.
TimeNote for workflow
StringUser who created this workflow
StringDate/time that this workflow was created
Time
{
Unique identifier for the requested Page.
IntegerThe raw content that gets scored.
String
{
Unique identifier for this violation.
IntegerID of the Term within this violation.
IntegerThe Term's name.
StringID of Rule that the term is in.
IntegerName of Rule.
StringType of Rule (Required, Banned, etc).
StringID of the page associated with this violation.
IntegerNumber of occurrences.
IntegerDatetime that this violation occurred.
TimeIf enabled within brand, the amount of points this violation deducted.
IntegerIf rule is set up for stereo calls, can be Agent or Caller.
StringID of the brand associated with this violation.
StringID of the company associated with this violation.
StringTimestamps for occurrences of this violation, in seconds (Call center only).
Other| Parameter | Description | Example |
|---|---|---|
brand |
Restrict results to the given Brand ID(s). |
?brand=11,13
|
campaign |
Restrict results to the given Campaign ID(s). |
&campaign=3
|
created_to |
Restrict results to pages created till created_to date. |
&created_to=2018-01-31 or 30 days
|
created_from |
Restrict results to pages created after created_from date. |
&created_from=2018-01-01 or 60 days
|
scored_to |
Restrict results to pages scored till scored_to date. |
&scored_to=2018-01-31 or 30 days
|
scored_from |
Restrict results to pages scored after scored_from date. |
&scored_from=2018-01-01 or 60 days
|
max_score |
Restrict results to score less than max_score |
&max_score=80
|
min_score |
Restrict results to score greater than min_score |
&min_score=30
|
remediation_status |
Restrict results to the given Remediation Status(es). |
&remediation_status=In Progress
|
limit |
Limits the number of results per request. |
&limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
{
Unique identifier for this item.
IntegerThe chat session ID.
StringThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe URL of the item being monitored (if applicable).
StringThe date/time the item was last scored.
TimeThe current remediation status.
StringList of tags associated with this object.
OtherThe chat agent (if applicable).
StringThe chat visitor (if applicable).
StringThe chat duration (if applicable).
StringThe chat word count (if applicable).
String
{
Unique identifier for this item.
IntegerThe chat session ID.
StringThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe URL of the item being monitored (if applicable).
StringThe date/time the item was last scored.
TimeWhether or not an asset has been reviewed.
BooleanThe current remediation status.
StringList of tags associated with this object.
OtherThe chat agent (if applicable).
StringThe chat visitor (if applicable).
StringThe chat duration (if applicable).
StringThe chat word count (if applicable).
String
{
Unique identifier for the requested Page.
IntegerStatus of workflow.
StringOwner of workflow.
StringDate workflow should be completed.
TimeNote for workflow
StringUser who created this workflow
StringDate/time that this workflow was created
Time
{
Unique identifier for the requested Page.
IntegerThe raw content that gets scored.
String
{
Unique identifier for this violation.
IntegerID of the Term within this violation.
IntegerThe Term's name.
StringID of Rule that the term is in.
IntegerName of Rule.
StringType of Rule (Required, Banned, etc).
StringID of the page associated with this violation.
IntegerNumber of occurrences.
IntegerDatetime that this violation occurred.
TimeIf enabled within brand, the amount of points this violation deducted.
IntegerIf rule is set up for stereo calls, can be Agent or Caller.
StringID of the brand associated with this violation.
StringID of the company associated with this violation.
StringTimestamps for occurrences of this violation, in seconds (Call center only).
Other| Parameter | Description | Example |
|---|---|---|
brand |
Restrict results to the given Brand ID(s). |
?brand=11,13
|
campaign |
Restrict results to the given Campaign ID(s). |
&campaign=3
|
created_to |
Restrict results to pages created till created_to date. |
&created_to=2018-01-31 or 30 days
|
created_from |
Restrict results to pages created after created_from date. |
&created_from=2018-01-01 or 60 days
|
scored_to |
Restrict results to pages scored till scored_to date. |
&scored_to=2018-01-31 or 30 days
|
scored_from |
Restrict results to pages scored after scored_from date. |
&scored_from=2018-01-01 or 60 days
|
max_score |
Restrict results to score less than max_score |
&max_score=80
|
min_score |
Restrict results to score greater than min_score |
&min_score=30
|
remediation_status |
Restrict results to the given Remediation Status(es). |
&remediation_status=In Progress
|
limit |
Limits the number of results per request. |
&limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
{
Unique identifier for this item.
IntegerThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe URL of the item being monitored (if applicable).
StringThe date/time the item was last scored.
TimeThe current remediation status.
StringList of tags associated with this object.
OtherThe email sender (if applicable).
StringThe email recipient (if applicable).
String
{
Unique identifier for this item.
IntegerThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe URL of the item being monitored (if applicable).
StringThe date/time the item was last scored.
TimeWhether or not an asset has been reviewed.
BooleanThe current remediation status.
StringList of tags associated with this object.
OtherThe email sender (if applicable).
StringThe email recipient (if applicable).
String
{
Unique identifier for the requested Page.
IntegerStatus of workflow.
StringOwner of workflow.
StringDate workflow should be completed.
TimeNote for workflow
StringUser who created this workflow
StringDate/time that this workflow was created
Time
{
Unique identifier for the requested Page.
IntegerThe raw content that gets scored.
String
{
Unique identifier for this violation.
IntegerID of the Term within this violation.
IntegerThe Term's name.
StringID of Rule that the term is in.
IntegerName of Rule.
StringType of Rule (Required, Banned, etc).
StringID of the page associated with this violation.
IntegerNumber of occurrences.
IntegerDatetime that this violation occurred.
TimeIf enabled within brand, the amount of points this violation deducted.
IntegerIf rule is set up for stereo calls, can be Agent or Caller.
StringID of the brand associated with this violation.
StringID of the company associated with this violation.
StringTimestamps for occurrences of this violation, in seconds (Call center only).
Other| Parameter | Description | Example |
|---|---|---|
brand |
Restrict results to the given Brand ID(s). |
?brand=11,13
|
campaign |
Restrict results to the given Campaign ID(s). |
&campaign=3
|
created_to |
Restrict results to pages created till created_to date. |
&created_to=2018-01-31 or 30 days
|
created_from |
Restrict results to pages created after created_from date. |
&created_from=2018-01-01 or 60 days
|
scored_to |
Restrict results to pages scored till scored_to date. |
&scored_to=2018-01-31 or 30 days
|
scored_from |
Restrict results to pages scored after scored_from date. |
&scored_from=2018-01-01 or 60 days
|
max_score |
Restrict results to score less than max_score |
&max_score=80
|
min_score |
Restrict results to score greater than min_score |
&min_score=30
|
remediation_status |
Restrict results to the given Remediation Status(es). |
&remediation_status=In Progress
|
limit |
Limits the number of results per request. |
&limit=50
|
offset |
Offsets the results by the given number of records. |
&offset=25
|
{
Unique identifier for this item.
IntegerThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe name of the Traffic Source the item belongs to.
StringThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe URL of the item being monitored (if applicable).
StringThe date/time the item was last scored.
TimeThe current remediation status.
StringList of tags associated with this object.
OtherThe call center rep id/agent (if applicable).
StringThe call length (if applicable).
String
{
Unique identifier for this item.
IntegerThe product type this item belongs to.
StringThe score (out of 100) of the item.
IntegerThe Traffic Source the item belongs to.
IntegerThe name of the Traffic Source the item belongs to.
StringThe Campaign the item belongs to.
IntegerThe Brand the item belongs to.
IntegerThe Company the item belongs to.
IntegerThe time the item was first created in the system.
TimeThe URL of the item being monitored (if applicable).
StringThe date/time the item was last scored.
TimeWhether or not an asset has been reviewed.
BooleanThe current remediation status.
StringList of tags associated with this object.
OtherThe call center rep id/agent (if applicable).
StringThe call length (if applicable).
String
{
Unique identifier for the requested Page.
IntegerStatus of workflow.
StringOwner of workflow.
StringDate workflow should be completed.
TimeNote for workflow
StringUser who created this workflow
StringDate/time that this workflow was created
Time
{
Unique identifier for the requested Page.
IntegerThe raw content that gets scored.
String
{
Unique identifier for this violation.
IntegerID of the Term within this violation.
IntegerThe Term's name.
StringID of Rule that the term is in.
IntegerName of Rule.
StringType of Rule (Required, Banned, etc).
StringID of the page associated with this violation.
IntegerNumber of occurrences.
IntegerDatetime that this violation occurred.
TimeIf enabled within brand, the amount of points this violation deducted.
IntegerIf rule is set up for stereo calls, can be Agent or Caller.
StringID of the brand associated with this violation.
StringID of the company associated with this violation.
StringTimestamps for occurrences of this violation, in seconds (Call center only).
OtherEndpoints for managing compliance rules. Rules define the terms and conditions used to score content across brands, campaigns, and channels.
All Rules API endpoints are prefixed with /api/v1/rules/company/{agency_id} where agency_id is your company ID.
Rule types:
Terms: testTerms are primary terms (all rule types) and have a termWeight of high, medium, or low.
conditionalTerms are trigger terms (conditional types only) and have no weight. Both support alternativeTerms (synonyms).
Status: PUBLISHED (actively scoring) or UNPUBLISHED (saved but not scoring).
Weight: high, medium, low. Spotlight rules do not have weight.
Multi-brand rules: When a rule is applied to more than one brand, the system maintains a separate copy for each brand.
These copies share the same terms and settings but each has its own rule ID. They are linked together as siblings under a shared
multibrandRuleId, and each copy's siblingRuleIds lists the rule IDs of all other copies in the group.
All copies are kept in sync — updates to terms, settings, or scope on any sibling automatically propagate to the rest.
You don't need to track which copy belongs to which brand. Where applicable, the API accepts any sibling's rule ID and automatically
resolves to the correct one. The response includes the resolved ruleId so you can see which copy was used.
Note: Adding or removing brands from a rule's scope creates or deletes sibling copies. If a brand is removed, its copy's rule ID becomes invalid. Clients that store rule IDs should treat the ID returned by the list or detail endpoints as the current canonical reference.
API token restrictions: The following endpoints are not available when authenticating with a bearer token:
POST /ai/suggest-terms, GET /rules/export, POST /rules/import/start.
Creating a rule:
/brands to discover brand IDs./campaigns and GET /traffic-sources for scoping./rules with the rule definition./rules/{id} to publish.Updating terms:
/rules/{id} with testTerms/conditionalTerms — replaces entire list./rules/{id}/terms — only adds/updates terms in payload, leaves others alone./rules/{id}/terms — removes named terms.Managing campaigns:
/rules/{id} with campaignIds./campaigns/{id}/rules./campaigns/{id}/rules/{ruleId}.Use this to discover brand IDs before creating or scoping rules. Each brand belongs to exactly one channel type. Returns a map of channel names to brand lists.
| Parameter | Description | Example |
|---|---|---|
channels |
Comma-separated list of channel types to filter by. Options: web, call, message, email, social, document. | ?channels=web,call |
{
"success": true,
"results": {
"channels": {
"web": [
{
"id": 101,
"name": "Brand A - Web"
}
],
"call": [
{
"id": 102,
"name": "Brand A - Call"
}
]
}
}
}
Unique identifier for the brand.
IntegerThe brand's display name.
StringUse this to discover campaign IDs for scoping rules. Results are grouped by brand, with each group containing the brand's active campaigns. Filter by specific brands using the brands query parameter, or omit it to return campaigns across all brands in the company.
| Parameter | Description | Example |
|---|---|---|
brands |
Comma-separated list of brand IDs to filter by. | ?brands=101,102 |
{
"success": true,
"results": {
"campaigns": [
{
"brandId": 101,
"brandName": "Brand A",
"campaigns": [
{
"id": 5001,
"name": "Q1 Campaign"
}
]
}
]
}
}
The brand's unique identifier.
IntegerThe brand's display name.
StringArray of campaigns belonging to this brand.
ArrayUnique identifier for the campaign.
IntegerThe campaign's display name.
StringReturns the campaign's name, status, brand, and a list of rule IDs currently associated with it. Only active rules with active associations are included in ruleIds. Use this to see which rules are applied to a specific campaign before adding or removing associations.
{
"success": true,
"results": {
"id": 5001,
"name": "Q1 Campaign",
"status": "active",
"brandId": 101,
"companyId": 10,
"ruleIds": [12345, 12346, 12347]
}
}
Unique identifier for the campaign.
IntegerThe campaign's display name.
StringThe campaign's current status.
StringThe brand this campaign belongs to.
IntegerThe company this campaign belongs to.
IntegerArray of rule IDs associated with this campaign.
ArrayAssociates the given rule with the campaign. For multi-brand rules, you can pass any sibling rule ID — the API automatically resolves to the sibling that matches the campaign's brand.
Idempotent: Adding a rule that is already associated is a no-op. Previously removed associations are reactivated.
Constraints: The campaign must be active. The rule must not have applyToAllCampaigns enabled — those rules are managed via PATCH /rules/{id} instead. The rule must belong to the same brand as the campaign, or be a multi-brand rule with a sibling in that brand.
JSON object containing the rule ID to associate with the campaign.
{
"ruleId": 12345
}
{
"success": true,
"results": {
"campaignId": 5001,
"ruleId": 12345,
"status": "active"
}
}
The campaign ID.
IntegerThe rule ID that was added.
IntegerStatus of the campaign-rule association.
StringSoft-deletes the association between the rule and the campaign. The rule itself is not affected. Like the add endpoint, accepts any sibling rule ID and resolves to the correct one for the campaign's brand.
Idempotent: Removing an association that doesn't exist (or was already removed) is a no-op.
Constraints: The campaign must be active. The rule must not have applyToAllCampaigns enabled.
{
"success": true,
"results": {
"campaignId": 5001,
"ruleId": 12345,
"status": "active"
}
}
The campaign ID.
IntegerThe rule ID that was removed.
IntegerStatus of the campaign-rule association.
StringTraffic sources represent the origins of web, call, and message content. Use their IDs with the excludedTrafficSourceIds field (when applyToAllTs is false) to specify which traffic sources to exclude from a rule's scope.
Uses cursor-based pagination. Pass the nextCursor value from the previous response to get the next page. When nextCursor is null, there are no more results.
| Parameter | Description | Example |
|---|---|---|
size |
Page size. Default 100, max 1000. | ?size=50 |
cursor |
Opaque cursor from a previous page's nextCursor value. |
&cursor=abc123 |
{
"success": true,
"results": {
"trafficSources": [
{
"id": 1,
"name": "Google Ads",
"brandId": 101
},
{
"id": 2,
"name": "Facebook Ads",
"brandId": 101
}
],
"nextCursor": "abc123"
}
}
Unique identifier for the traffic source.
IntegerThe traffic source's display name.
StringThe brand this traffic source belongs to.
IntegerOpaque cursor for the next page. Null if no more results.
StringReturns a paginated list of rule summaries. Each summary includes the rule's name, type, status, weight, brand and campaign counts, term names (without alternative terms), and audit timestamps. Use GET /rules/{id} for the full detail including alternative terms, proximity settings, and scope breakdown.
Pagination: The response includes a pageInfo object with totalCount, totalPages, currentPage, hasMore, and nextPage. The metadata field within pageInfo provides counts of published and unpublished rules matching the current filters.
Multi-brand: Rules that span multiple brands are deduplicated in the list — one entry per logical rule. Use siblingRuleIds to find the other copies if needed.
All filters are optional and can be combined.
| Parameter | Description | Example |
|---|---|---|
ruleType |
Comma-separated rule types. Options: BannedTermRule, RequiredTermRule, ConditionalBannedTermRule, ConditionalRequiredTermRule, KeywordTermRule. | ?ruleType=BannedTermRule,RequiredTermRule |
ruleStatus |
Filter by rule status: PUBLISHED or UNPUBLISHED. | ?ruleStatus=PUBLISHED |
createdAtAfter |
Return rules created on or after this date (YYYY-MM-DD). | ?createdAtAfter=2025-01-01 |
createdAtBefore |
Return rules created on or before this date (YYYY-MM-DD). | ?createdAtBefore=2025-12-31 |
lastUpdatedAfter |
Return rules last updated on or after this date (YYYY-MM-DD). | ?lastUpdatedAfter=2025-06-01 |
lastUpdatedBefore |
Return rules last updated on or before this date (YYYY-MM-DD). | ?lastUpdatedBefore=2025-06-30 |
nameContains |
Case-insensitive substring match on rule name. | ?nameContains=hidden |
channelTypes |
Comma-separated channel types to filter by. | ?channelTypes=web,email |
brands |
Comma-separated brand IDs to filter by. | ?brands=101,102 |
campaigns |
Comma-separated campaign IDs to filter by. | ?campaigns=5001,5002 |
trafficSources |
Comma-separated traffic source filters: all, custom, na. | ?trafficSources=all |
ruleWeight |
Comma-separated weights: low, medium, high. | ?ruleWeight=high,medium |
sortBy |
Sort keys, prefix with - for descending. Options: createdDate, ruleName, weight, lastUpdated, conditionalTermCount. |
?sortBy=-lastUpdated |
size |
Page size. Default 50, max 250. | ?size=25 |
page |
Page number (1-based). | ?page=2 |
{
"success": true,
"pageInfo": {
"hasMore": true,
"nextPage": 2,
"currentPage": 1,
"size": 50,
"totalPages": 2,
"totalCount": 87,
"metadata": {
"published": 65,
"unpublished": 22
}
},
"results": [
{
"id": 12345,
"name": "Hidden Fees Rule",
"note": null,
"type": "BannedTermRule",
"weight": "high",
"status": "PUBLISHED",
"advertiserId": 101,
"multibrandRuleId": null,
"siblingRuleIds": [],
"brandIdList": [101],
"brandNames": ["Brand A - Web"],
"channelTypes": ["web"],
"testTermCount": 3,
"conditionalTermCount": 0,
"campaignCount": 2,
"brandCount": 1,
"trafficSources": "all",
"dateAdded": "2025-03-15T10:30:00Z",
"dateUpdated": "2025-04-01T14:22:00Z",
"testTerms": [
{
"term": "hidden fees",
"termWeight": "high"
}
],
"conditionalTerms": []
}
]
}
Unique identifier for the rule.
IntegerThe rule's display name.
StringOptional note or description. Nullable.
StringRule type (e.g., BannedTermRule, RequiredTermRule).
StringRule weight: high, medium, or low.
StringPUBLISHED or UNPUBLISHED.
StringThe brand (advertiser) ID this rule belongs to.
IntegerShared identifier linking sibling rules across brands. Nullable.
StringIDs of sibling rules in other brands.
ArrayArray of brand IDs this rule is applied to.
ArrayDisplay names of associated brands.
ArrayChannel types this rule applies to.
ArrayNumber of test terms in this rule.
IntegerNumber of conditional (trigger) terms.
IntegerNumber of campaigns this rule is applied to.
IntegerNumber of brands this rule is applied to.
IntegerTraffic source scope: "all", "custom", or "na".
StringWhen the rule was created. Nullable.
TimeWhen the rule was last updated. Nullable.
TimeArray of test term summaries.
ArrayArray of conditional term summaries.
ArrayReturns everything about the rule: name, type, weight, status, all terms with their alternative terms, proximity settings, channel constraints, campaign scope, traffic source scope, and audit history (created by, last updated by, timestamps).
The ruleScope field provides a channel-by-brand-by-campaign breakdown showing exactly where the rule is applied.
For multi-brand rules, siblingRuleIds lists the IDs of all other copies in the group and multibrandRuleId is the shared group identifier.
{
"success": true,
"results": {
"id": 12345,
"name": "Hidden Fees Rule",
"note": "Flags references to hidden or concealed fees",
"type": "BannedTermRule",
"weight": "high",
"status": "PUBLISHED",
"advertiserId": 101,
"multibrandRuleId": null,
"siblingRuleIds": [],
"brandIdList": [101],
"channelTypes": ["web", "email"],
"applyToAllTs": true,
"excludedTrafficSourceIds": [],
"campaignIds": [5001, 5002],
"applyToAllCampaigns": false,
"testTerms": [
{
"term": "hidden fees",
"note": null,
"termWeight": "high",
"alternativeTerms": [
{
"term": "concealed charges",
"note": null
}
]
}
],
"conditionalTerms": [],
"proximity": null,
"channelConstraints": {},
"ruleScope": {
"brands": [
{
"id": 101,
"name": "Brand A - Web"
}
],
"campaigns": [
{
"id": 5001,
"name": "Q1 Campaign"
}
]
},
"dateAdded": "2025-03-15T10:30:00Z",
"dateUpdated": "2025-04-01T14:22:00Z",
"createdBy": {
"id": 42,
"name": "Jane Smith"
},
"lastUpdatedBy": null
}
}
Unique identifier for the rule.
IntegerThe rule's display name.
StringOptional note or description. Nullable.
StringRule type (e.g., BannedTermRule, RequiredTermRule).
StringRule weight: high, medium, or low. Nullable for Spotlight rules.
StringPUBLISHED or UNPUBLISHED.
StringThe brand (advertiser) ID this rule belongs to.
IntegerShared identifier linking sibling rules across brands. Nullable.
StringIDs of sibling rules in other brands.
ArrayArray of brand IDs this rule is applied to.
ArrayChannel types this rule applies to.
ArrayWhether the rule applies to all traffic sources.
BooleanTraffic source IDs excluded from the rule when applyToAllTs is true.
ArrayCampaign IDs this rule is associated with.
ArrayWhether the rule applies to all campaigns.
BooleanArray of test terms with alternativeTerms and notes.
ArrayArray of conditional (trigger) terms.
ArrayProximity settings for term matching. Nullable.
ObjectPer-channel configuration overrides.
ObjectBreakdown of brands and campaigns in scope.
ObjectWhen the rule was created.
TimeWhen the rule was last updated. Nullable.
TimeUser who created the rule. Nullable.
ObjectUser who last updated the rule. Nullable.
ObjectReturns the active test terms and conditional terms with their alternative terms. This is a lightweight alternative to GET /rules/{id} when you only need the terms.
testTerms — Present on all rule types. Each includes term, note, termWeight, and alternativeTerms.conditionalTerms — Only present on Conditional Banned and Conditional Required rules. Each includes term, note, and alternativeTerms (no weight).{
"success": true,
"results": {
"testTerms": [
{
"term": "hidden fees",
"note": null,
"termWeight": "high",
"alternativeTerms": [
{
"term": "concealed charges",
"note": null
}
]
}
],
"conditionalTerms": []
}
}
Array of test terms with alternativeTerms, notes, and weights.
ArrayArray of conditional (trigger) terms.
ArrayThe term text.
StringOptional note for the term. Nullable.
StringTerm weight: high, medium, or low. Only on testTerms.
StringArray of synonym terms.
ArrayRequired fields:
name — Rule name (must be unique within the brand).type — One of: BannedTermRule, RequiredTermRule, ConditionalBannedTermRule, ConditionalRequiredTermRule, KeywordTermRule.weight — "high", "medium", or "low". Required for all types except Spotlight, which must not include weight.advertiserId — The primary brand ID for this rule.brandIdList — List of brand IDs this rule should apply to. For single-brand rules, this is just [advertiserId]. For multi-brand rules, include all target brand IDs and the system creates linked sibling copies.Optional fields:
status — "PUBLISHED" or "UNPUBLISHED" (default: UNPUBLISHED).testTerms — Initial test terms. Each term includes term (text), optionally note, termWeight (defaults to "medium"), and synonyms (list of alternative terms).conditionalTerms — Initial conditional (trigger) terms. Same structure as test terms but without termWeight. Only valid on conditional rule types.applyToAllCampaigns — If true, rule applies to all campaigns on the brand (default: false).campaignIds — Specific campaigns to scope the rule to. Ignored if applyToAllCampaigns is true.applyToAllTs — If true, rule applies to all traffic sources (default: true). Set to false to exclude specific traffic sources.excludedTrafficSourceIds — Traffic sources to exclude. Only used when applyToAllTs is false.proximity — Proximity check settings for conditional and scored terms.channelConstraints — Channel-specific settings (case sensitivity, call/message constraints).Note: On this endpoint, the key for alternative terms is synonyms. On the update and merge endpoints it is alternativeTerms.
{
"name": "Hidden Fees Rule",
"type": "BannedTermRule",
"weight": "high",
"advertiserId": 101,
"brandIdList": [101],
"testTerms": [
{
"term": "hidden fees",
"synonyms": [
{
"term": "concealed charges"
}
]
}
]
}
{
"success": true,
"results": {
"id": 12345,
"name": "Hidden Fees Rule",
"note": null,
"type": "BannedTermRule",
"weight": "high",
"status": "UNPUBLISHED",
"advertiserId": 101,
"multibrandRuleId": null,
"siblingRuleIds": [],
"brandIdList": [101],
"channelTypes": ["web", "email"],
"applyToAllTs": true,
"excludedTrafficSourceIds": [],
"campaignIds": [],
"applyToAllCampaigns": true,
"testTerms": [
{
"term": "hidden fees",
"note": null,
"termWeight": "high",
"alternativeTerms": [
{
"term": "concealed charges",
"note": null
}
]
}
],
"conditionalTerms": [],
"proximity": null,
"channelConstraints": {},
"ruleScope": {
"brands": [
{
"id": 101,
"name": "Brand A - Web"
}
],
"campaigns": []
},
"dateAdded": "2025-04-28T09:15:00Z",
"dateUpdated": null,
"createdBy": {
"id": 42,
"name": "Jane Smith"
},
"lastUpdatedBy": null
}
}
Returns the full rule detail. See GET /rules/{rule_id} for attribute descriptions.
This is the full rule update endpoint — it can modify any aspect of a rule in a single call: name, weight, status, brands, terms, campaigns, proximity, channel constraints, and traffic sources. Only include fields you want to change.
Important: replacement semantics for terms and campaigns. When testTerms, conditionalTerms, or campaignIds are included in the payload, the provided list fully replaces the existing one. Terms or campaigns not in the payload are deactivated. If you only want to add or remove individual terms, use PATCH /rules/{id}/terms or DELETE /rules/{id}/terms instead. For individual campaign associations, use POST /campaigns/{id}/rules and DELETE /campaigns/{id}/rules/{ruleId}.
Updatable fields:
name — Rename the rule.weight — "high", "medium", "low". Cannot be set on Spotlight rules.status — "PUBLISHED" or "UNPUBLISHED".note — Free-text note on the rule.brandIdList — Change which brands the rule covers. Adding a brand creates a new sibling copy; removing a brand deletes its copy.testTerms — Full replacement of test terms (with alternative terms).conditionalTerms — Full replacement of conditional terms.campaignIds — Full replacement of campaign associations.applyToAllCampaigns — Toggle applying to all campaigns on the brand.applyToAllTs — Toggle applying to all traffic sources.excludedTrafficSourceIds — Traffic sources to exclude (only when applyToAllTs is false).proximity — Proximity check settings.channelConstraints — Channel-specific settings.Multi-brand: Updates automatically propagate to all sibling copies in the group.
{
"status": "PUBLISHED",
"weight": "medium",
"note": "Updated via API"
}
{
"success": true,
"results": {
"id": 12345,
"name": "Hidden Fees Rule",
"note": "Updated via API",
"type": "BannedTermRule",
"weight": "medium",
"status": "PUBLISHED",
"advertiserId": 101,
"multibrandRuleId": null,
"siblingRuleIds": [],
"brandIdList": [101],
"channelTypes": ["web", "email"],
"applyToAllTs": true,
"excludedTrafficSourceIds": [],
"campaignIds": [5001, 5002],
"applyToAllCampaigns": false,
"testTerms": [
{
"term": "hidden fees",
"note": null,
"termWeight": "high",
"alternativeTerms": [
{
"term": "concealed charges",
"note": null
}
]
}
],
"conditionalTerms": [],
"proximity": null,
"channelConstraints": {},
"ruleScope": {
"brands": [
{
"id": 101,
"name": "Brand A - Web"
}
],
"campaigns": [
{
"id": 5001,
"name": "Q1 Campaign"
},
{
"id": 5002,
"name": "Q2 Campaign"
}
]
},
"dateAdded": "2025-03-15T10:30:00Z",
"dateUpdated": "2025-04-28T11:45:00Z",
"createdBy": {
"id": 42,
"name": "Jane Smith"
},
"lastUpdatedBy": {
"id": 42,
"name": "Jane Smith"
}
}
}
Returns the full rule detail. See GET /rules/{rule_id} for attribute descriptions.
Send only the terms you want to add or update — existing terms not in the payload are left untouched. This is the recommended endpoint for incremental term changes. For full term replacement, use PATCH /rules/{id} with testTerms/conditionalTerms instead.
How matching works: Terms are matched by their text content, not by ID. If a term with the same text already exists, its fields (note, weight) are updated. If no match is found, a new term is created.
Alternative terms: Within each term, alternativeTerms controls synonyms. Omitted/null leaves existing alternative terms as-is. Provided merges: matched by text, new ones added, existing ones updated.
Other behavior:
termWeight defaults to "medium" for new test terms if omitted. Ignored on conditional terms and Spotlight rules.conditionalTerms returns 400 if the rule is not a conditional type.{
"testTerms": [
{
"term": "hidden fees",
"note": "Updated",
"termWeight": "high",
"alternativeTerms": [
{
"term": "concealed charges"
}
]
}
]
}
{
"success": true,
"results": {
"testTerms": [
{
"term": "hidden fees",
"note": "Updated",
"termWeight": "high",
"alternativeTerms": [
{
"term": "concealed charges",
"note": null
}
]
},
{
"term": "undisclosed costs",
"note": null,
"termWeight": "medium",
"alternativeTerms": []
}
],
"conditionalTerms": []
}
}
Returns the full terms list. See GET /rules/{rule_id}/terms for attribute descriptions.
Send the terms you want to delete. Each item specifies a term by its text and optionally which alternative terms to remove:
alternativeTerms omitted/null — Deletes the entire term and all its alternative terms.alternativeTerms = ["word1", "word2"] — Only deletes those specific alternative terms. The parent term is kept.Idempotent: Terms or alternative terms not found on the rule are silently ignored.
Other behavior:
testTerms or conditionalTerms to skip that category entirely.conditionalTerms returns 400 if the rule is not a conditional type.{
"testTerms": [
{
"term": "hidden fees"
}
],
"conditionalTerms": [
{
"term": "if applicable",
"alternativeTerms": ["when relevant"]
}
]
}
{
"success": true,
"results": {
"testTerms": [
{
"term": "undisclosed costs",
"note": null,
"termWeight": "medium",
"alternativeTerms": []
}
],
"conditionalTerms": [
{
"term": "if applicable",
"note": null,
"alternativeTerms": [
{
"term": "where applicable",
"note": null
}
]
}
]
}
}
Returns the remaining terms. See GET /rules/{rule_id}/terms for attribute descriptions.
Soft-deletes the rule along with all of its terms, alternative terms, and campaign associations. For multi-brand rules, all sibling copies are deleted together — you cannot delete a single brand's copy without removing the brand from the rule via PATCH /rules/{id} with an updated brandIdList.
No response body. A successful delete returns HTTP 204 with an empty body.
No response body.