Converly Flows API

The Flows API from Converly — 5 operation(s) for flows.

GitHub OpenAPI

Operations 8

GET /flows Get flows #
POST /flows Create flows #
GET /flows/{id} Get flows by id #
PATCH /flows/{id} Update flows by id #
DELETE /flows/{id} Delete flows by id #
POST /flows/{id}/publish Create flows by id publish #
POST /flows/{id}/unpublish Create flows by id unpublish #
POST /flows/{id}/validate Create flows by id validate #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/converly-io:converly-io-flows-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

converly-io-flows-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Converly Io Flows API
  version: 1.0.0
  description: 'Operations tagged Flows across 2 of this provider''s published API definitions: converly-io-openapi.json, converly-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://app.converly.io/api/v1
tags:
- name: Flows
paths:
  /flows:
    get:
      description: List flows. Filter with `site_id`.
      security:
      - BearerAuth: []
      parameters:
      - schema:
          $ref: '#/components/schemas/SiteId'
        required: false
        description: Prefixed site id, e.g. site_xxxxxx
        name: site_id
        in: query
      - schema:
          type: integer
          minimum: 1
          maximum: 1000
        required: false
        name: limit
        in: query
      - schema:
          type: string
        required: false
        name: starting_after
        in: query
      - schema:
          type: string
        required: false
        name: ending_before
        in: query
      responses:
        '200':
          description: Paginated list of flows.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedFlows'
        '401':
          description: Structured error envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Structured error envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      tags:
      - Flows
      summary: Get flows
      x-summary-source: derived
      operationId: getFlows
      x-operation-id-source: derived
    post:
      description: Create a flow in 'draft' status on a site. Trigger + actions use the LEGACY loose shape (see docs/api/flows.md — catalogue and write shapes currently diverge). Publish is a separate call via POST /flows/{id}/publish.
      security:
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FlowCreateBody'
      responses:
        '201':
          description: The newly created flow.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Flow'
        '400':
          description: Validation failure or site_id does not reference a site on this account.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Structured error envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '403':
          description: Structured error envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      tags:
      - Flows
      summary: Create flows
      x-summary-source: derived
      operationId: postFlows
      x-operation-id-source: derived
    servers:
    - url: https://app.converly.io/api/v1
  /flows/{id}:
    get:
      description: Get a single flow.
      security:
      - BearerAuth: []
      parameters:
      - schema:
          $ref: '#/components/schemas/FlowId'
        required: true
        description: Prefixed flow id, e.g. flow_xxxxxx
        name: id
        in: path
      responses:
        '200':
          description: The flow.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Flow'
        '404':
          description: Structured error envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      tags:
      - Flows
      summary: Get flows by id
      x-summary-source: derived
      operationId: getFlowsById
      x-operation-id-source: derived
    patch:
      description: Partial update to the flow DEFINITION — at least one field required. `status` is refused with 400 `status_transition_requires_endpoint`; lifecycle changes go through POST /flows/{id}/publish and /unpublish. Editing a published flow saves the draft (`publication_state` becomes `pending`) while the previously published version keeps running. Emptying a published flow's actions is refused (400 `would_strand_published_flow`; 409 `publication_in_progress` while a publish is mid-flight). Deprecated `meta-ads` slug is rejected — use `meta`.
      security:
      - BearerAuth: []
      parameters:
      - schema:
          $ref: '#/components/schemas/FlowId'
        required: true
        description: Prefixed flow id, e.g. flow_xxxxxx
        name: id
        in: path
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FlowUpdateBody'
      responses:
        '200':
          description: The updated flow.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Flow'
        '400':
          description: status_transition_requires_endpoint / would_strand_published_flow / invalid_value
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Structured error envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          description: publication_in_progress — a publish targeting this flow is mid-flight; retry shortly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      tags:
      - Flows
      summary: Update flows by id
      x-summary-source: derived
      operationId: patchFlowsById
      x-operation-id-source: derived
    delete:
      description: Hard delete a flow. Unpublish first if published — otherwise the delivery-service CDN config will hold a stale reference until another flow on the same site triggers a re-push.
      security:
      - BearerAuth: []
      parameters:
      - schema:
          $ref: '#/components/schemas/FlowId'
        required: true
        description: Prefixed flow id, e.g. flow_xxxxxx
        name: id
        in: path
      responses:
        '200':
          description: Deleted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedResponse'
        '404':
          description: Structured error envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      tags:
      - Flows
      summary: Delete flows by id
      x-summary-source: derived
      operationId: deleteFlowsById
      x-operation-id-source: derived
    servers:
    - url: https://app.converly.io/api/v1
  /flows/{id}/publish:
    post:
      description: 'Publish a flow through the publication protocol: the site''s config (this flow''s CURRENT definition + the published snapshots of its other live flows) is pushed to the delivery CDN behind a claimed sequence number, and the DB (status / published_at / snapshot) is only written after the push is confirmed — no optimistic flip, no rollback. Publishing an already-published flow takes its saved edits live (`publication_state` pending → in_sync).'
      security:
      - BearerAuth: []
      parameters:
      - schema:
          $ref: '#/components/schemas/FlowId'
        required: true
        description: Prefixed flow id, e.g. flow_xxxxxx
        name: id
        in: path
      responses:
        '200':
          description: 'Flow after publish (`publication_state: in_sync`), with advisory readiness warnings.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowPublished'
        '400':
          description: incomplete_flow / validation_failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          description: publication_in_progress — another publication for this site is mid-flight; retry shortly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '502':
          description: 'delivery_service_error / publication_unresolved — the push outcome is ambiguous; the flow reports `publication_state: unknown` while the system replays and verifies. Re-check shortly.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: site_not_initialized — the site awaits its one-time publication-integrity switchover; publishing is briefly paused, drafts stay editable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      tags:
      - Flows
      summary: Create flows by id publish
      x-summary-source: derived
      operationId: postFlowsByIdPublish
      x-operation-id-source: derived
    servers:
    - url: https://app.converly.io/api/v1
  /flows/{id}/unpublish:
    post:
      description: 'Stop a published flow through the publication protocol: the site''s config is re-pushed WITHOUT it behind a claimed sequence number, and only then is the row marked paused. `published_at` and the published snapshot are kept.'
      security:
      - BearerAuth: []
      parameters:
      - schema:
          $ref: '#/components/schemas/FlowId'
        required: true
        description: Prefixed flow id, e.g. flow_xxxxxx
        name: id
        in: path
      responses:
        '200':
          description: Flow after unpublish.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Flow'
        '409':
          description: publication_in_progress — another publication for this site is mid-flight; retry shortly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '502':
          description: 'delivery_service_error / publication_unresolved — ambiguous outcome; `publication_state: unknown` while verified.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: site_not_initialized — the site awaits its one-time publication-integrity switchover.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      tags:
      - Flows
      summary: Create flows by id unpublish
      x-summary-source: derived
      operationId: postFlowsByIdUnpublish
      x-operation-id-source: derived
    servers:
    - url: https://app.converly.io/api/v1
  /flows/{id}/validate:
    post:
      description: Non-mutating publish-readiness check. Returns the SAME problems the publish path computes (missing trigger / action / conversion), in structured form — so a native builder's Publish button knows when it's enabled, without firing a real publish. Needs flows:read, and additionally destinations:read for a flow carrying a Google Ads action with a picked conversion, because validation then runs the same Google Ads conversion-usability check publish applies (it reads the site's live conversion list). A missing destinations:read answers 403 naming the scope; an unreachable or malformed list answers 503 rather than a green valid:false. Flows without Google Ads actions keep the previous flows:read-only contract.
      security:
      - BearerAuth: []
      parameters:
      - schema:
          $ref: '#/components/schemas/FlowId'
        required: true
        description: Prefixed flow id, e.g. flow_xxxxxx
        name: id
        in: path
      responses:
        '200':
          description: Validation result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlowValidationResult'
        '403':
          description: missing_scope. The flow carries a Google Ads conversion pick and this credential lacks destinations:read, which the usability listing read requires.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Structured error envelope.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: delivery_unavailable. Validation's Google Ads usability listing read was unreachable or malformed. The flow exists; try again shortly.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      tags:
      - Flows
      summary: Create flows by id validate
      x-summary-source: derived
      operationId: postFlowsByIdValidate
      x-operation-id-source: derived
    servers:
    - url: https://app.converly.io/api/v1
components:
  schemas:
    LegacyTriggerConfig:
      type: object
      properties:
        integrationId:
          type: string
          minLength: 1
          maxLength: 100
          description: Provider slug from /v1/trigger-types[].providers[]. Not `meta-ads` (deprecated).
        pageFilter:
          type: string
          enum:
          - all
          - specific
        pages:
          type: array
          items:
            type: string
            maxLength: 500
      required:
      - integrationId
      additionalProperties: {}
      description: 'Loose legacy shape accepted by POST/PATCH /v1/flows. Note: this is DIFFERENT from the strict polymorphic shape advertised by /v1/trigger-types — in-flight migration. See docs/api/flows.md for details.'
    FlowCreateBody:
      type: object
      properties:
        site_id:
          $ref: '#/components/schemas/SiteId'
        name:
          type: string
          minLength: 1
          maxLength: 255
        description:
          type:
          - string
          - 'null'
          maxLength: 1000
        trigger_config:
          allOf:
          - $ref: '#/components/schemas/LegacyTriggerConfig'
          - type:
            - object
            - 'null'
        actions_config:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/LegacyActionConfig'
      required:
      - site_id
      - name
    FlowId:
      type: string
      pattern: ^flow_[0-9A-Za-z]{22}$
      description: Prefixed flow id, e.g. flow_xxxxxx
    SiteId:
      type: string
      pattern: ^site_[0-9A-Za-z]{22}$
      description: Prefixed site id, e.g. site_xxxxxx
    FlowPublished:
      allOf:
      - $ref: '#/components/schemas/Flow'
      - type: object
        properties:
          warnings:
            type: array
            items:
              $ref: '#/components/schemas/SiteReadinessWarning'
        required:
        - warnings
    DeletedResponse:
      type: object
      properties:
        deleted:
          type: boolean
          enum:
          - true
      required:
      - deleted
    SiteReadinessWarning:
      type: object
      properties:
        code:
          type: string
          enum:
          - site_missing_domain
          - origin_not_authorized
          - snippet_never_seen
        message:
          type: string
      required:
      - code
      - message
    FlowUpdateBody:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 255
        description:
          type:
          - string
          - 'null'
          maxLength: 1000
        trigger_config:
          allOf:
          - $ref: '#/components/schemas/LegacyTriggerConfig'
          - type:
            - object
            - 'null'
        actions_config:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/LegacyActionConfig'
      description: Partial update to the flow DEFINITION. At least one field required. `status` is not accepted here — sending it returns 400 `status_transition_requires_endpoint`; lifecycle changes go through POST /flows/{id}/publish and POST /flows/{id}/unpublish, which run the cross-service publish pipeline. Editing a published flow saves the draft without changing what runs on the website (`publication_state` becomes `pending`) until you publish again.
    PaginatedFlows:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/Flow'
        has_more:
          type: boolean
        next_cursor:
          type:
          - string
          - 'null'
      required:
      - data
      - has_more
      - next_cursor
    ErrorEnvelope:
      type: object
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              enum:
              - invalid_request_error
              - authentication_error
              - permission_error
              - not_found_error
              - rate_limit_error
              - delivery_service_error
              - internal_error
              - idempotency_error
            code:
              type: string
            message:
              type: string
            param:
              type: string
          required:
          - type
          - code
          - message
      required:
      - error
    LegacyActionConfig:
      type: object
      properties:
        id:
          type: string
          minLength: 1
          maxLength: 100
          description: Required. Client-assigned action id used by the publish validator. `act-1`, `act-2`, or a uuid works.
        integrationId:
          type: string
          minLength: 1
          maxLength: 100
          description: Destination slug from /v1/destination-types[].type. `meta`, not `meta-ads`.
        config:
          type: object
          additionalProperties: {}
          description: Per-destination fields — see /v1/action-types?destination_type=X for schema.
      required:
      - id
      - integrationId
      additionalProperties: {}
    Flow:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/FlowId'
        site_id:
          $ref: '#/components/schemas/SiteId'
        name:
          type: string
        description:
          type:
          - string
          - 'null'
        status:
          type: string
          enum:
          - draft
          - published
          - paused
          - archived
        publication_state:
          type:
          - string
          - 'null'
          enum:
          - in_sync
          - pending
          - unknown
          - null
          description: Whether this flow's definition matches what was last published for it. null for draft/paused flows with no unresolved publication; "pending" means edits are saved but not live (publish to apply); "unknown" means Converly is verifying the live version.
        trigger_config:
          type:
          - object
          - 'null'
          additionalProperties: {}
        trigger_integration_id:
          type:
          - string
          - 'null'
          description: Resolved provider slug for the trigger (e.g. "gravity-forms"). For platform-dispatched triggers this is the PROVIDER slug, not the internal delivery trigger key. Null for provider-less triggers (e.g. custom events).
        trigger_icon_url:
          type:
          - string
          - 'null'
          format: uri
          description: Absolute logo URL for the trigger's provider, resolved from Converly's central integration registry (the same source /v1/trigger-types uses). Prefer this over the raw trigger_config.integrationIcon. Null when the provider has no logo (e.g. the generic "api" source) or the flow has no trigger.
        trigger_name:
          type:
          - string
          - 'null'
          description: Human-readable label for the trigger's provider, or the trigger-type label for provider-less triggers. Null if neither is known.
        actions_config:
          type:
          - array
          - 'null'
          items:
            type: object
            additionalProperties: {}
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        published_at:
          type:
          - string
          - 'null'
          format: date-time
      required:
      - id
      - site_id
      - name
      - description
      - status
      - publication_state
      - trigger_config
      - trigger_integration_id
      - trigger_icon_url
      - trigger_name
      - actions_config
      - created_at
      - updated_at
      - published_at
    FlowValidationResult:
      type: object
      properties:
        valid:
          type: boolean
        problems:
          type: array
          items:
            type: object
            properties:
              code:
                type: string
              message:
                type: string
              action_id:
                type: string
              integration:
                type: string
            required:
            - code
            - message
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/SiteReadinessWarning'
      required:
      - valid
      - problems
      - warnings
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: sk_live_...
    InternalBearer:
      type: http
      scheme: bearer
      bearerFormat: JOBS_SECRET
      description: Shared internal secret. This is NOT an sk_live_* API key. Used by /v1/signup and internal job endpoints.
x-refined-from:
- converly-io-openapi.json
- converly-io-openapi.yml