Voiceflow Interact API

Run a turn against a Voiceflow agent.

Operations 2

POST /state/user/{userID}/interact Interact (v4) — run an agent turn (non-streaming) #
POST /state/user/{userID}/interact/stream Interact (v4) — run an agent turn with Server-Sent Events #

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/voiceflow-interact-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

voiceflow-interact-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Voiceflow Conversations Interact API
  version: 1.0.0
  summary: REST + SSE API for running Voiceflow agent turns and managing session state.
  description: 'The Voiceflow Conversations API (formerly Dialog Manager API) enables programmatic

    interaction with Voiceflow agents — running turns, managing session state, and

    modifying conversation variables.


    Documentation: https://docs.voiceflow.com/reference

    '
  contact:
    name: Voiceflow Docs
    url: https://docs.voiceflow.com/reference
servers:
- url: https://general-runtime.voiceflow.com
  description: Voiceflow general runtime
security:
- apiKey: []
tags:
- name: Interact
  description: Run a turn against a Voiceflow agent.
paths:
  /state/user/{userID}/interact:
    post:
      tags:
      - Interact
      summary: Interact (v4) — run an agent turn (non-streaming)
      description: 'Sends an action to a Voiceflow agent and returns an array of `trace` events

        describing what the agent did this turn. Use the `request` action to send

        end-user input; use `launch` to begin a new conversation.

        '
      operationId: interactV4
      parameters:
      - $ref: '#/components/parameters/UserID'
      - in: header
        name: versionID
        required: false
        schema:
          type: string
        description: Project version (defaults to `production`).
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InteractRequest'
      responses:
        '200':
          description: Array of trace events
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Trace'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /state/user/{userID}/interact/stream:
    post:
      tags:
      - Interact
      summary: Interact (v4) — run an agent turn with Server-Sent Events
      description: 'Same semantics as `/state/user/{userID}/interact` but streams `trace` events

        back as Server-Sent Events for incremental rendering.

        '
      operationId: interactV4Stream
      parameters:
      - $ref: '#/components/parameters/UserID'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InteractRequest'
      responses:
        '200':
          description: text/event-stream of trace events
          content:
            text/event-stream:
              schema:
                type: string
components:
  schemas:
    InteractRequest:
      type: object
      properties:
        action:
          type: object
          description: Action sent to the agent (e.g. `launch` or `request` with text).
          properties:
            type:
              type: string
              examples:
              - launch
              - text
              - intent
            payload:
              type: object
              additionalProperties: true
        config:
          type: object
          properties:
            tts:
              type: boolean
            stripSSML:
              type: boolean
            stopAll:
              type: boolean
            excludeTypes:
              type: array
              items:
                type: string
        state:
          type: object
          additionalProperties: true
        verbose:
          type: boolean
    Error:
      type: object
      properties:
        message:
          type: string
        code:
          type: string
    Trace:
      type: object
      description: Event emitted by the agent for this turn.
      properties:
        type:
          type: string
          examples:
          - speak
          - text
          - choice
          - end
          - debug
        payload:
          type: object
          additionalProperties: true
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  parameters:
    UserID:
      name: userID
      in: path
      required: true
      schema:
        type: string
      description: Stable identifier for the end user / conversation participant.
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: Authorization
      description: 'Voiceflow Dialog Manager API key (format `VF.DM.*`) sent in the

        `Authorization` header.

        '