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

# Trigger local pipeline

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

## Request

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

Triggers the full post-idea generation pipeline for a location. Returns a pipeline ID; poll Local pipeline status for progress.

## Headers

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

## Request body

- TriggerLocalPipelineRequest
  - `locationId` string, required

## Response `200`

Successful response

- object
  - `data` object
    - `triggerLocalPipeline` LocalTriggerPipelineResponse
      - `success` boolean
      - `pipelineId` string
      - `error` LocalError
        - `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)
