---
title: "Trigger pipeline"
method: POST
path: "/social-post-ideas/trigger-pipeline"
tags: ["Social Post Ideas"]
---

# Trigger pipeline

`POST /social-post-ideas/trigger-pipeline`

## Request

- Base URL: `https://api.synup.com/api/v4`
- URL: `https://api.synup.com/api/v4/social-post-ideas/trigger-pipeline`
- Auth: none required
- TypeScript: <https://skmtc.dev/synup/apis/synup-api/docs/social-post-ideas/trigger-pipeline/post.ts> (a function with typed inputs; its response is checked against the schema)

Triggers the full social post-idea generation pipeline for a brand. Returns a pipeline ID; supply brand context (profile name, site URL, categories, hashtags, intent, content language) to steer generation.

## Headers

- `Synup-Version` string, required
- `Authorization` string, required

## Request body

- TriggerPipelineRequest
  - `socialProfileId` string, required
  - `profileName` string, required
  - `siteUrl` string
  - `categories` string[]
  - `brandHashtags` string[]
  - `businessIntent` string
  - `contentPreferredLanguage` string

## Response `200`

Successful response

- object
  - `data` object
    - `triggerPipeline` TriggerPipelineResponse
      - `success` boolean
      - `pipelineId` string
      - `error` Error
        - `message` string
        - `code` string
        - `contextInfo` object[]
          - `key` string
          - `value` string

## Other responses

- `401`: Unauthorized - Invalid or missing API key

---

[API](https://skmtc.dev/synup/apis/synup-api.md) - [All operations](https://skmtc.dev/synup/apis/synup-api/llms.txt) - [OpenAPI document](https://skmtc.dev/synup/apis/synup-api/revisions/67de2d51c22e?raw)
