website_key_pages

Create website key page

Name a page whose visits matter: site_sid, a stable slug (key, lowercase, immutable), a label, a path glob (pattern: a path or a pasted URL, * for any run of characters, matching ignores case and a trailing slash) and is_conversion. A match in a session is highlighted in the feed and becomes the fact website_key_page_visited. One page per key per site: a duplicate is 409 duplicate_rejected with the existing sid.

Contract:

  • MCP tool create_website_key_page, registry package mcp.signals/website_key_pages, mount signals.website.
  • Operation create, response envelope create.
  • Flags: none.
post/api/website-key-pages

Request

  • Base URL
    https://beta.getsales.io/signals/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Request body

site_sidstring required

Website site sid (sg_si_...), the page's site.

keystring required

A stable lowercase slug, unique within the site, immutable: the name facts, the key_page filter and the signal visited_key_page carry.

labelstring required

What the page is called in the feed (Pricing).

patternstring required

A path glob or a pasted URL (reduced to its path): * stands for any run of characters, matching ignores case and a trailing slash (/plans*). No path readable is 422 invalid_pattern.

is_conversionboolean

Count a visit as a conversion. Default false: visiting /signup is not a signup.

Response

create success envelope.

successtrue required
operation'create' required
already_existsboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.