ICP / GTM / REST API

Get gtm context

Read the workspace's full GTM context: personas, commercial offerings, campaign offers, canonical lead magnets, case studies, competitors, ICP criteria, company/service descriptions, and onboarding evidence keyed to the canonical saved asset IDs. Use this before generating messages, evaluating prospect fit, or recommending campaigns. Returns { configured: boolean, hint?: string } so you can detect incomplete setup and nudge the user to finish onboarding.

GET /api/v1/gtm-contextDeterministic operation

Parameters

workspaceIdOptional · string
Optional when using API key auth - inferred from the key.
Request example
curl -X GET "https://app.pipeline.help/api/v1/gtm-context" \
  -H "Authorization: Bearer $PIPELINE_API_KEY"
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional when using API key auth - inferred from the key."
    }
  }
}
See this operation inCLI MCP TypeScript SDK
API reference | Pipeline v2 preview