Skip to content

Export selected entities

Request

Export a subset of the tenant configuration as a ZIP archive. For each entity type in the request body, "sync" exports every current item of that type and "selective" exports only the listed ids; an omitted entity type is not touched at all. This endpoint always returns a ZIP and takes no query parameters; a request carrying any is rejected.

Security
bearer
Path
tenantIdstringrequired

Tenant ID specifying the environment from which the configuration is exported

Bodyapplication/jsonrequired

Per-entity-type export selection (mode + ids)

entitiesobjectrequired
curl -i -X POST \
  'https://version-management.sbx.transmitsecurity.io/version/export/{tenantId}' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "entities": {
      "journeys": {
        "mode": "sync",
        "ids": [
          "string"
        ]
      },
      "subJourneys": {
        "mode": "sync",
        "ids": [
          "string"
        ]
      },
      "externalConnections": {
        "mode": "sync",
        "ids": [
          "string"
        ]
      },
      "typedLists": {
        "mode": "sync",
        "ids": [
          "string"
        ]
      }
    }
  }'

Responses

Export completed. Returns a ZIP archive of the exported tenant configuration, scoped to the requested entity selection.

Headers
Content-Dispositionstring

Attachment header carrying the archive filename, for example: attachment; filename="transmit-security-export.zip"

Bodyapplication/zip
string, (binary)
Response
string