There There Workflows API

The Workflows API from There There — 2 operation(s) for workflows.

GitHub OpenAPI

Operations 5

GET /workflows List workflows #
POST /workflows Create a workflow (admin only) #
GET /workflows/{workflow} Show a workflow #
PUT /workflows/{workflow} Update a workflow (admin only) #
DELETE /workflows/{workflow} Delete a workflow (admin only) #

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/there-there-app:there-there-app-workflows-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

there-there-app-workflows-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: There There Workflows API
  description: 'REST API for There There, the AI-powered helpdesk. All endpoints require

    authentication via a bearer token, and most require the

    `X-Workspace-Id` header to identify which workspace the request targets.

    You can copy the workspace ID from

    Settings > Account > API Tokens or

    Settings > Workspace > General.


    Responses follow a consistent shape: single resources are returned under a

    `data` key; collections return `data` alongside `meta` and `links` for

    pagination.'
  version: 1.0.0
servers:
- url: https://there-there.app/api
  description: Production
security:
- bearerAuth: []
tags:
- name: Workflows
paths:
  /workflows:
    get:
      operationId: listWorkflows
      tags:
      - Workflows
      summary: List workflows
      parameters:
      - $ref: '#/components/parameters/WorkspaceHeader'
      responses:
        '200':
          description: List of workflows
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Workflow'
    post:
      operationId: createWorkflow
      tags:
      - Workflows
      summary: Create a workflow (admin only)
      parameters:
      - $ref: '#/components/parameters/WorkspaceHeader'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - trigger_type
              properties:
                name:
                  type: string
                description:
                  type: string
                  nullable: true
                trigger_type:
                  type: string
                  enum:
                  - on_new_ticket
                  - on_inbound_message
                  - on_no_reply
                  - manual
                trigger_parameters:
                  type: object
                  nullable: true
                  description: Required for on_no_reply. The unit defaults to hours. Durations are capped at 30 days in total. With only_business_hours, minutes and hours pause outside workspace business hours, and days count business days; fully closed days do not count.
                  properties:
                    value:
                      type: integer
                      minimum: 1
                    unit:
                      type: string
                      enum:
                      - minutes
                      - hours
                      - days
                      default: hours
                    only_business_hours:
                      type: boolean
                      default: false
                condition_match_type:
                  type: string
                  enum:
                  - all
                  - any
                  default: all
                is_enabled:
                  type: boolean
                  default: true
                conditions:
                  type: array
                  items:
                    $ref: '#/components/schemas/WorkflowConditionInput'
                actions:
                  type: array
                  items:
                    $ref: '#/components/schemas/WorkflowActionInput'
      responses:
        '201':
          description: Workflow created
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Workflow'
  /workflows/{workflow}:
    get:
      operationId: showWorkflow
      tags:
      - Workflows
      summary: Show a workflow
      parameters:
      - $ref: '#/components/parameters/WorkspaceHeader'
      - name: workflow
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Workflow with conditions and actions
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Workflow'
    put:
      operationId: updateWorkflow
      tags:
      - Workflows
      summary: Update a workflow (admin only)
      parameters:
      - $ref: '#/components/parameters/WorkspaceHeader'
      - name: workflow
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                description:
                  type: string
                  nullable: true
                trigger_type:
                  type: string
                  enum:
                  - on_new_ticket
                  - on_inbound_message
                  - on_no_reply
                  - manual
                trigger_parameters:
                  type: object
                  nullable: true
                  description: Required for on_no_reply. The unit defaults to hours. Durations are capped at 30 days in total. With only_business_hours, minutes and hours pause outside workspace business hours, and days count business days; fully closed days do not count.
                  properties:
                    value:
                      type: integer
                      minimum: 1
                    unit:
                      type: string
                      enum:
                      - minutes
                      - hours
                      - days
                      default: hours
                    only_business_hours:
                      type: boolean
                      default: false
                condition_match_type:
                  type: string
                  enum:
                  - all
                  - any
                is_enabled:
                  type: boolean
                conditions:
                  type: array
                  items:
                    $ref: '#/components/schemas/WorkflowConditionInput'
                actions:
                  type: array
                  items:
                    $ref: '#/components/schemas/WorkflowActionInput'
      responses:
        '200':
          description: Updated workflow
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/Workflow'
    delete:
      operationId: deleteWorkflow
      tags:
      - Workflows
      summary: Delete a workflow (admin only)
      parameters:
      - $ref: '#/components/parameters/WorkspaceHeader'
      - name: workflow
        in: path
        required: true
        schema:
          type: string
      responses:
        '204':
          description: Workflow deleted
components:
  schemas:
    WorkflowActionInput:
      type: object
      required:
      - type
      - parameters
      properties:
        type:
          type: string
          description: Action identifier from the workflow action registry. add_internal_note saves an internal note; create_reply_draft prepares a private unsent reply with the user's template and channel signature. Both support manual text or AI generation. Unassigned automatic tickets and existing reply drafts keep the new suggestion as an internal note instead. Neither action sends a reply. run_ai_prompt retains its existing tool-driven behavior.
          example: create_reply_draft
        parameters:
          type: object
          description: For add_internal_note and create_reply_draft, mode defaults to manual and requires note or message respectively. With mode ai, prompt is required (1–8000 characters). Channel-linked integrations are available automatically; there is no per-workflow tool selection.
          example:
            mode: ai
            prompt: Prepare a reply in the language of the customer. Ask for missing order details.
    WorkflowConditionInput:
      type: object
      required:
      - type
      - parameters
      properties:
        type:
          type: string
          enum:
          - body_contains
          - channel_is
          - contact_is_new
          - from_domain_equals
          - from_email_contains
          - from_email_equals
          - subject_contains
          - subject_equals
        parameters:
          type: object
    Workflow:
      type: object
      properties:
        id:
          type: integer
        ulid:
          type: string
        name:
          type: string
        description:
          type: string
          nullable: true
        trigger_type:
          type: string
          enum:
          - on_new_ticket
          - on_inbound_message
          - on_no_reply
          - manual
        trigger_parameters:
          type: object
          nullable: true
          description: Present for on_no_reply workflows. The unit defaults to hours. Durations are capped at 30 days in total. With only_business_hours, minutes and hours pause outside workspace business hours, and days count business days; fully closed days do not count.
          properties:
            value:
              type: integer
              minimum: 1
              description: Duration amount. Combined with unit, capped at 30 days in total.
            unit:
              type: string
              enum:
              - minutes
              - hours
              - days
              default: hours
            only_business_hours:
              type: boolean
              default: false
        condition_match_type:
          type: string
          enum:
          - all
          - any
        is_enabled:
          type: boolean
        order_column:
          type: integer
        created_at:
          type: string
          format: date-time
        conditions:
          type: array
          items:
            type: object
            properties:
              id:
                type: integer
              ulid:
                type: string
              type:
                type: string
              parameters:
                type: object
        actions:
          type: array
          items:
            type: object
            properties:
              id:
                type: integer
              ulid:
                type: string
              type:
                type: string
              parameters:
                type: object
  parameters:
    WorkspaceHeader:
      name: X-Workspace-Id
      in: header
      required: false
      schema:
        type: integer
      description: 'Workspace ID this request targets. Required for tokens that have

        access to multiple workspaces or to all workspaces. Optional for

        tokens scoped to a single workspace (auto-resolved). Find the ID under

        [Settings > Account > API Tokens](https://there-there.app/settings/account/api-tokens) or

        [Settings > Workspace > General](https://there-there.app/settings/workspace/general).

        '
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Sanctum API token. Generate one from Settings > API Tokens.