---
title: "Export the current IR to a platform config"
method: POST
path: "/api/flows/{id}/export"
tags: ["Flows"]
---

# Export the current IR to a platform config

`POST /api/flows/{id}/export`

## Request

- Base URL: `https://api.wordis-bond.com`
- URL: `https://api.wordis-bond.com/api/flows/{id}/export`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Query parameters

- `platform` 'vapi'
- `version` integer

## Response `200`

Exported config

- object
  - `data` object, required
  - `error` union, required
    - object
    - string

## Other responses

- `401`: Missing, invalid, or revoked credentials.
- `404`: The resource does not exist or is not owned by the tenant.
- `422`: The request body failed validation.

---

[API](https://skmtc.dev/wordis-bond/apis/word-is-bond-voice-agent-testing-api.md) · [All operations](https://skmtc.dev/wordis-bond/apis/word-is-bond-voice-agent-testing-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wordis-bond/apis/word-is-bond-voice-agent-testing-api/revisions/66c2d5480d84?raw)
