---
title: "Publish Flow Graph"
method: POST
path: "/api/v1/flow-graphs/{graph_id}/publish"
tags: ["flow-graphs"]
---

# Publish Flow Graph

`POST /api/v1/flow-graphs/{graph_id}/publish`

## Request

- Base URL: `https://api.outrival.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outrival.com/api/v1/flow-graphs/{graph_id}/publish`
- Auth: HTTP bearer

## Path parameters

- `graph_id` string, required

## Request body

- PublishFlowGraphRequest
  - `campaign_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-25** `389f365f5cec`: 1 info
  - added optional request body

[Operation history](https://skmtc.dev/outrival/apis/outrival-api/changes/api/v1/flow-graphs/:graph_id/publish/post.md)

---

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