channel export.md

Channel Export

Channels API · import-export

POST /ui/connectors/channels-api/latest/export/

Export channels as a JSON payload.

Omit channels to export all. Set includeServices=false for a spec-only export (lighter; services regenerated from templates on import).

Request body

Content type: application/json · Required

Example request

curl -X POST "/ui/connectors/channels-api/latest/export/" \
  -H "Content-Type: application/json" \
  -d '{
  "channels": [
    "string"
  ],
  "includeServices": true,
  "description": "string"
}'

Responses

200 — Successful Response

Example:

null

422 — Validation Error

Example:

{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}

Source spec: channels-api · operationId: channel_export_export__post