Support · Contact · Legal
Verified RCS · SMS · MMS · Log in
API REFERENCE

Compliance API

The SimplyRCS compliance API has 15 public endpoints. Every endpoint below is documented with its parameters, responses and an example request. The reference is public and needs no account; a scoped API key is required only to make live calls.

DNC, consent, TCPA, and compliance reporting.

Base URL https://api.simplyrcs.com · All 194 endpoints · Pricing

GET/v1/compliance/dnc

List DNC entries

GET https://api.simplyrcs.com/v1/compliance/dnc · requires an API key

Query parameters

NameTypeRequiredDescription
searchstringNoPhone-number substring filter.
pageintegerNo
limitintegerNo

Responses

StatusReturnsDescription
200DncListResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X GET https://api.simplyrcs.com/v1/compliance/dnc \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

POST/v1/compliance/dnc

Create a DNC entry

POST https://api.simplyrcs.com/v1/compliance/dnc · requires an API key

Request body

DncCreateRequest · optional

FieldTypeRequiredDescription
phonestringYesE.164 phone number.
reasonstringYes
source"MANUAL" | "IMPORT" | "CARRIER" | "LEGAL"No

Responses

StatusReturnsDescription
200DncCreateResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/compliance/dnc \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "phone": "+14155550142",
    "reason": "example",
    "source": "MANUAL"
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.

POST/v1/compliance/dnc/batch

Create DNC entries in batch

POST https://api.simplyrcs.com/v1/compliance/dnc/batch · requires an API key

Request body

DncBatchRequest · optional

FieldTypeRequiredDescription
phonesstring[]Yes
reasonstringYes
source"MANUAL" | "IMPORT" | "CARRIER" | "LEGAL"No

Responses

StatusReturnsDescription
200DncBatchResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/compliance/dnc/batch \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "phones": [
      "+14155550142"
    ],
    "reason": "example",
    "source": "MANUAL"
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.

DELETE/v1/compliance/dnc/{id}

Delete a DNC entry

Requires brand admin or platform admin access.

DELETE https://api.simplyrcs.com/v1/compliance/dnc/{id} · requires an API key

Path parameters

NameTypeDescription
id requiredId

Responses

StatusReturnsDescription
200SuccessResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X DELETE https://api.simplyrcs.com/v1/compliance/dnc/{id} \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

GET/v1/compliance/reports/{type}

Generate a compliance report

Downloads a consent, opt-outs, or DNC report as a CSV or JSON attachment.

GET https://api.simplyrcs.com/v1/compliance/reports/{type} · requires an API key

Path parameters

NameTypeDescription
type required"consent" | "opt-outs" | "dnc"

Query parameters

NameTypeRequiredDescription
startDatestringNo
endDatestringNo
format"csv" | "json"No

Responses

StatusReturnsDescription
200object[]Report file (Content-Disposition: attachment).
401ErrorResponseAuthentication failed
404ErrorResponseUnknown report type

Example request

curl -X GET https://api.simplyrcs.com/v1/compliance/reports/{type} \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

POST/v1/compliance/override

Create a compliance override

Requires brand admin or platform admin access. Creates a 24-hour consent override and writes a ConsentAuditLog entry. DNC-listed contacts cannot be overridden (422).

POST https://api.simplyrcs.com/v1/compliance/override · requires an API key

Request body

ComplianceOverrideRequest · optional

FieldTypeRequiredDescription
contactIdIdYes
listIdstringNo
blastIdstringNo
reasonstringYes

Responses

StatusReturnsDescription
200ComplianceOverrideResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/compliance/override \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "contactId": "ct_8f21",
    "reason": "example"
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.

PATCH/v1/contacts/{id}/tcpa

Update TCPA settings for a contact

PATCH https://api.simplyrcs.com/v1/contacts/{id}/tcpa · requires an API key

Path parameters

NameTypeDescription
id requiredId

Request body

ComplianceTcpaUpdateRequest · optional

FieldTypeRequiredDescription
tcpaConsentbooleanYes
consentProofstringNo

Responses

StatusReturnsDescription
200ComplianceTcpaUpdateResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X PATCH https://api.simplyrcs.com/v1/contacts/{id}/tcpa \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "tcpaConsent": true
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.

GET/v1/content-rules

List content rules

GET https://api.simplyrcs.com/v1/content-rules · requires an API key

Query parameters

NameTypeRequiredDescription
pageintegerNo
limitintegerNo
searchstringNo
action"block" | "flag"No
patternType"keyword" | "regex"No

Responses

StatusReturnsDescription
200ContentRuleListResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X GET https://api.simplyrcs.com/v1/content-rules \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

POST/v1/content-rules

Create a content rule

POST https://api.simplyrcs.com/v1/content-rules · requires an API key

Request body

ContentRuleCreateRequest · optional

FieldTypeRequiredDescription
patternstringYes
patternType"keyword" | "regex"Yes
action"block" | "flag"Yes
channelTypesComplianceChannelType[]No
descriptionstringNo
isActivebooleanNo

Responses

StatusReturnsDescription
201ContentRuleResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/content-rules \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "pattern": "example",
    "patternType": "keyword",
    "action": "block"
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.

PATCH/v1/content-rules/{id}

Update a content rule

PATCH https://api.simplyrcs.com/v1/content-rules/{id} · requires an API key

Path parameters

NameTypeDescription
id requiredId

Request body

ContentRuleUpdateRequest · optional

FieldTypeRequiredDescription
patternstringNo
patternType"keyword" | "regex"No
action"block" | "flag"No
channelTypesComplianceChannelType[]No
descriptionstringNo
isActivebooleanNo

Responses

StatusReturnsDescription
200objectSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X PATCH https://api.simplyrcs.com/v1/content-rules/{id} \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "patternType": "keyword",
    "action": "block"
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.

DELETE/v1/content-rules/{id}

Delete a content rule

DELETE https://api.simplyrcs.com/v1/content-rules/{id} · requires an API key

Path parameters

NameTypeDescription
id requiredId

Responses

StatusReturnsDescription
200SuccessResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X DELETE https://api.simplyrcs.com/v1/content-rules/{id} \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

GET/v1/keyword-rules

List keyword rules

Returns global rules merged with org-level custom rules and overrides. Not paginated.

GET https://api.simplyrcs.com/v1/keyword-rules · requires an API key

Responses

StatusReturnsDescription
200KeywordRuleListResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X GET https://api.simplyrcs.com/v1/keyword-rules \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"

POST/v1/keyword-rules

Create a keyword rule

POST https://api.simplyrcs.com/v1/keyword-rules · requires an API key

Request body

KeywordRuleCreateRequest · optional

FieldTypeRequiredDescription
keywordstringYesLetters, numbers, and spaces only. Normalized to uppercase.
action"opt_out" | "opt_in" | "help" | "custom"Yes
autoReplyTextstringNo
channelTypesComplianceChannelType[]No
isActivebooleanNo

Responses

StatusReturnsDescription
201KeywordRuleResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X POST https://api.simplyrcs.com/v1/keyword-rules \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "keyword": "JOIN",
    "action": "opt_out"
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.

PATCH/v1/keyword-rules/{id}

Update a keyword rule

Global keyword rules cannot be edited directly (403).

PATCH https://api.simplyrcs.com/v1/keyword-rules/{id} · requires an API key

Path parameters

NameTypeDescription
id requiredId

Request body

KeywordRuleUpdateRequest · optional

FieldTypeRequiredDescription
keywordstringNo
action"opt_out" | "opt_in" | "help" | "custom"No
autoReplyTextstringNo
channelTypesComplianceChannelType[]No
isActivebooleanNo

Responses

StatusReturnsDescription
200objectSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X PATCH https://api.simplyrcs.com/v1/keyword-rules/{id} \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "action": "opt_out"
  }'

Example body: built from the request schema (required fields first), with illustrative values; the field table above lists every field the schema accepts.

DELETE/v1/keyword-rules/{id}

Delete a keyword rule

Global keyword rules cannot be deleted (403).

DELETE https://api.simplyrcs.com/v1/keyword-rules/{id} · requires an API key

Path parameters

NameTypeDescription
id requiredId

Responses

StatusReturnsDescription
200SuccessResponseSuccessful response
400ErrorResponseValidation error
401ErrorResponseAuthentication failed

Example request

curl -X DELETE https://api.simplyrcs.com/v1/keyword-rules/{id} \
  -H "Authorization: Bearer $SIMPLYRCS_API_KEY"