apiDeterministic
List gtm assets
GET /api/v1/gtm-assets
List offering-scoped direct offers, front-end offers, and lead magnets, optionally filtered by lifecycle. Read-only.
Parameters
workspaceIdrequired
string
No description.
offeringId
string
No description.
kind
string
No description.
offer | lead_magnet
lifecycle
string
No description.
candidate | reviewed | approved | campaign_selected | winning | retired
Example
REST requestbash
curl -X GET "https://app.pipeline.help/api/v1/gtm-assets?workspaceId=00000000-0000-4000-8000-000000000000" \-H "Authorization: Bearer $PIPELINE_API_KEY"
Response
Success response schemajson schema
{"type": "object","properties": {"offers": {"type": "array","items": {"type": "object"}},"leadMagnets": {"type": "array","items": {"type": "object"}}},"required": ["offers","leadMagnets"]}
HTTP errors
- 401
- Missing or invalid API key.
- 403
- Authenticated but not permitted for the workspace or resource.
- 404
- The requested resource was not found.