apiDeterministic
Create gtm asset candidate
POST /api/v1/gtm-assets
Create a caller-authored GTM asset candidate for one core offering. Does not invoke hosted AI or approve the asset.
Parameters
workspaceIdrequired
string
No description.
offeringIdrequired
string
No description.
candidaterequired
object
No description.
offerType
string
No description.
direct_offer | front_end_offer | trial
Example
REST requestbash
curl -X POST "https://app.pipeline.help/api/v1/gtm-assets" \-H "Authorization: Bearer $PIPELINE_API_KEY" \-H "Content-Type: application/json" \-d '{"workspaceId":"00000000-0000-4000-8000-000000000000","offeringId":"00000000-0000-4000-8000-000000000000","candidate":{}}'
Response
Success response schemajson schema
{"type": "object","properties": {"asset": {"type": "object"}},"required": ["asset"]}
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.