Skill: Manage Competitors

Reference for the Manage Competitors skill, which lists, reads, creates and updates the competitor profiles in Marketing.

The Manage Competitors skill lets an agent read and write the competitors in Competitive analysis, which Marketing uses for positioning and comparison pages.

Key and role

NeedsFor
Marketing > Competitors Read on the keylist, get
Marketing > Competitors Write on the keycreate, update
A key creator whose role can write competitors (every built-in role can)create, update

The skill never deactivates, reactivates or deletes a competitor, and never sends a status. A competitor it creates is active.

Actions

actionRouteWhat it does
listGET /api/v2/competitorsLists competitors, filtered by search and isActive. Rows leave out socialChannels and seoSearchPresence
getGET /api/v2/competitors/{competitor_id}One competitor with every field and the offerings it competes for
createPOST /api/v2/competitorsCreates a competitor. Needs competitorName
updatePATCH /api/v2/competitors/{competitor_id}Changes the fields you send and empties the ones in clear_fields. Needs at least one of them

Parameters

ParameterTypeUsed byNotes
actionstringAllRequired. list, get, create or update
competitor_idstring (UUID)get, updateRequired for both
competitorNamestringcreate, updateRequired for create. 1 to 120 characters, unique in your organization
domainstringcreate, updateThe competitor’s website or domain, such as example.com. At most 255 characters
primaryValuePropstringcreate, updateAt most 2,000 characters
keyFeaturesarray of stringscreate, updateAt most 20, each at most 200 characters
pricingstringcreate, updateAt most 500 characters
overlapWithUsstringcreate, updateWhere they overlap with you. At most 2,000 characters
ourWhiteSpacestringcreate, updateWhere you have the field to yourselves. At most 2,000 characters
socialChannelsobjectcreate, updateKeys linkedin, youtube, instagram and x, each { url, follower_count }. An object you send replaces the stored one
seoSearchPresenceobjectcreate, updatekeywords (at most 50, each at most 100 characters), estimated_traffic (a whole number, 0 or more) and llm_presence (low, medium, high or unknown). An object you send replaces the stored one
searchstringlistCase-insensitive match on the name
isActivebooleanlisttrue for active competitors only, false for deactivated ones only; leave it out for both
limitintegerlist1 to 200. Default 50
cursorstringlistThe nextCursor from the previous page
clear_fieldsarray of stringsupdateThe fields to empty. See below

Clearing fields

update can empty domain, primaryValueProp, pricing, overlapWithUs, ourWhiteSpace, socialChannels, seoSearchPresence and keyFeatures. Name them in clear_fields. An empty keyFeatures array also clears it. competitorName can’t be emptied, and create refuses clear_fields.

Refusals

CodeWhy
COMPETITOR_NAME_TAKEN (409)Another competitor already has that name
INVALID_DOMAIN (400)domain doesn’t look like a domain or URL, or is over 255 characters
INVALID_SEO_PRESENCE (400)seoSearchPresence broke one of the limits above

Related: Competitive analysis | Marketing skills | Manage Messaging Frameworks