CreatorHero
CreatorHero API

Dashboard Restricted Word Settings

Turns restricted word checks on or off for all creators of the agency and chooses which patterns (websites, phone numbers, emails, crypto wallets) are blocked as well. Requires the agency owner or a team member with the Admin role or higher.


Turn restricted words on or off

PUT
https://backend.creatorhero.com
/dashboard/api/v1/restricted-word-settings/toggle/{state}

Turns restricted word checks on (true) or off (false) and returns the settings.

Turn restricted words on or off › path Parameters

state
​boolean · required

true or false

Turn restricted words on or off › Responses

200

Updated settings

Restricted word settings of the agency
enabled
​boolean · required

Whether restricted word checks are on

websiteRestrictionEnabled
​boolean · required

Option to check website address in message

phoneNumberRestrictionEnabled
​boolean · required

Option to check phone number in message

emailRestrictionEnabled
​boolean · required

Option to check emails in message

cryptoWalletRestrictionEnabled
​boolean · required

Option to check crypto wallet addresses in message


Get restricted word settings

GET
https://backend.creatorhero.com
/dashboard/api/v1/restricted-word-settings

Returns the agency's settings. All flags are false until changed.

Get restricted word settings › Responses

200

Settings

Restricted word settings of the agency
enabled
​boolean · required

Whether restricted word checks are on

websiteRestrictionEnabled
​boolean · required

Option to check website address in message

phoneNumberRestrictionEnabled
​boolean · required

Option to check phone number in message

emailRestrictionEnabled
​boolean · required

Option to check emails in message

cryptoWalletRestrictionEnabled
​boolean · required

Option to check crypto wallet addresses in message


Update restricted word patterns

POST
https://backend.creatorhero.com
/dashboard/api/v1/restricted-word-settings

Sets the four pattern flags (websiteRestrictionEnabled, phoneNumberRestrictionEnabled, emailRestrictionEnabled, cryptoWalletRestrictionEnabled). Restricted words must be turned on first.

Update restricted word patterns › Request Body

Patterns to block in addition to restricted words
websiteRestrictionEnabled
​boolean

Block website addresses

phoneNumberRestrictionEnabled
​boolean

Block phone numbers

emailRestrictionEnabled
​boolean

Block email addresses

cryptoWalletRestrictionEnabled
​boolean

Block crypto wallet addresses

Update restricted word patterns › Responses

Updated settings

Restricted word settings of the agency
enabled
​boolean · required

Whether restricted word checks are on

websiteRestrictionEnabled
​boolean · required

Option to check website address in message

phoneNumberRestrictionEnabled
​boolean · required

Option to check phone number in message

emailRestrictionEnabled
​boolean · required

Option to check emails in message

cryptoWalletRestrictionEnabled
​boolean · required

Option to check crypto wallet addresses in message