OXVO Automation rules API

Define rules that trigger actions when events occur and conditions match.

GitHub OpenAPI

Operations 5

GET /v1/workspaces/{workspace_id}/automation_rules List all automation rules in an account #
POST /v1/workspaces/{workspace_id}/automation_rules Add a new automation rule #
GET /v1/workspaces/{workspace_id}/automation_rules/{id} Get a automation rule details #
PATCH /v1/workspaces/{workspace_id}/automation_rules/{id} Update automation rule in Account #
DELETE /v1/workspaces/{workspace_id}/automation_rules/{id} Remove a automation rule from account #

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/oxvo-com:oxvo-com-automation-rules-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

oxvo-com-automation-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OXVO - Workspace Automation rules API
  description: Workspace API endpoints for day-to-day operations inside OXVO workspaces.
  version: 1.1.0
  termsOfService: https://oxvo.com/company/terms-conditions
  contact:
    email: hello@oxvo.com
  license:
    name: MIT License
    url: https://opensource.org/licenses/MIT
servers:
- url: https://api.oxvo.com/
tags:
- name: Automation rules
  description: Define rules that trigger actions when events occur and conditions match.
paths:
  /v1/workspaces/{workspace_id}/automation_rules:
    parameters:
    - $ref: '#/components/parameters/workspace_id'
    get:
      tags:
      - Automation rules
      operationId: get-account-automation-rule
      summary: List all automation rules in an account
      parameters:
      - $ref: '#/components/parameters/workspace_id'
      - $ref: '#/components/parameters/page'
      description: Get details of automation rules in an Account
      security:
      - userApiKey: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/automation_rule'
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
    post:
      tags:
      - Automation rules
      operationId: add-new-automation-rule-to-account
      summary: Add a new automation rule
      description: Add a new automation rule to account
      security:
      - userApiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/automation_rule_create_update_payload'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/automation_rule'
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
  /v1/workspaces/{workspace_id}/automation_rules/{id}:
    parameters:
    - $ref: '#/components/parameters/workspace_id'
    - name: id
      in: path
      schema:
        type: number
      description: ID of the Automation Rule
      required: true
    get:
      tags:
      - Automation rules
      operationId: get-details-of-a-single-automation-rule
      summary: Get a automation rule details
      description: Get the details of a automation rule in the account
      security:
      - userApiKey: []
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        required: true
        description: The ID of the automation rule to be updated.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/automation_rule'
              example:
                payload:
                  id: 90
                  account_id: 1
                  name: add-label-bug-if-message-contains-bug
                  description: add-label-bug-if-message-contains-bug
                  event_name: message_created
                  conditions:
                  - values:
                    - incoming
                    attribute_key: message_type
                    query_operator: and
                    filter_operator: equal_to
                  - values:
                    - bug
                    attribute_key: content
                    filter_operator: contains
                  actions:
                  - action_name: add_label
                    action_params:
                    - bugs
                    - support-query
                  created_on: 1650555440
                  active: true
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '404':
          description: The given rule ID does not exist in the account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
    patch:
      tags:
      - Automation rules
      operationId: update-automation-rule-in-account
      summary: Update automation rule in Account
      description: Update a automation rule in account
      security:
      - userApiKey: []
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        required: true
        description: The ID of the automation rule to be updated.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/automation_rule_create_update_payload'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/automation_rule'
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '404':
          description: Rule not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
    delete:
      tags:
      - Automation rules
      operationId: delete-automation-rule-from-account
      summary: Remove a automation rule from account
      security:
      - userApiKey: []
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        required: true
        description: The ID of the automation rule to be deleted
      responses:
        '200':
          description: Success
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '404':
          description: automation rule not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
components:
  schemas:
    request_error:
      title: RequestErrorItem
      description: Field-level error object included in standard error responses.
      type: object
      properties:
        field:
          type: string
          description: Request field related to the error.
        message:
          type: string
          description: Human-readable error message for the field.
        code:
          type: string
          description: Stable error code for programmatic handling.
    automation_rule_create_update_payload:
      type: object
      properties:
        name:
          type: string
          description: Rule name
          example: Add label on message create event
        description:
          type: string
          description: The description about the automation and actions
          example: Add label support and sales on message create event if incoming message content contains text help
        event_name:
          type: string
          enum:
          - conversation_created
          - conversation_updated
          - conversation_resolved
          - message_created
          example: message_created
          description: The event when you want to execute the automation actions
        active:
          type: boolean
          description: Enable/disable automation rule
        actions:
          type: array
          description: Array of actions which you want to perform when condition matches, e.g add label support if message contains content help.
          items:
            type: object
            example:
              action_name: add_label
              action_params:
              - support
        conditions:
          type: array
          description: Array of conditions on which conversation filter would work, e.g message content contains text help.
          items:
            type: object
            example:
              attribute_key: content
              filter_operator: contains
              query_operator: OR
              values:
              - help
    bad_request_error:
      title: BadRequestError
      description: Standard error envelope returned when request validation fails or the request cannot be processed.
      type: object
      properties:
        description:
          type: string
          description: Human-readable summary of the failure.
        errors:
          type: array
          description: Field-level validation and processing errors.
          items:
            $ref: '#/components/schemas/request_error'
    automation_rule_item:
      type: object
      properties:
        id:
          type: integer
          description: The ID of the automation rule
        account_id:
          type: integer
          description: Account Id
        name:
          type: string
          description: The name of the rule
          example: Add label on message create event
        description:
          type: string
          description: Description to give more context about the rule
          example: Add label support and sales on message create event if incoming message content contains text help
        event_name:
          type: string
          description: Automation Rule event, on which we call the actions(conversation_created, conversation_updated, message_created)
          enum:
          - conversation_created
          - conversation_updated
          - message_created
          example: message_created
        conditions:
          type: array
          description: Array of conditions on which conversation/message filter would work
          items:
            type: object
            properties:
              values:
                type: array
                items:
                  type: string
              attribute_key:
                type: string
              query_operator:
                type: string
              filter_operator:
                type: string
            example:
              attribute_key: content
              filter_operator: contains
              values:
              - help
              query_operator: and
        actions:
          type: array
          description: Array of actions which we perform when condition matches
          items:
            type: object
            properties:
              action_name:
                type: string
              action_params:
                type: array
                items:
                  type: string
            example:
              action_name: add_label
              action_params:
              - support
              - sales
        created_on:
          type: integer
          description: The timestamp when the rule was created
        active:
          type: boolean
          description: Enable/disable automation rule
    automation_rule:
      type: object
      properties:
        payload:
          description: Response payload that contains automation rule(s)
          oneOf:
          - type: array
            description: Array of automation rules (for listing endpoint)
            items:
              $ref: '#/components/schemas/automation_rule_item'
          - type: object
            description: Single automation rule (for show/create/update endpoints)
            allOf:
            - $ref: '#/components/schemas/automation_rule_item'
  parameters:
    workspace_id:
      in: path
      name: workspace_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the workspace
    page:
      in: query
      name: page
      schema:
        type: integer
        default: 1
      required: false
      description: The page parameter
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: '**User access token** for Workspace APIs. Use this token when your integration acts on behalf of a teammate inside a workspace.


        - Typical use-cases: contacts, conversations, inbox workflows, reporting, and teammate-scoped configuration tasks.

        - Send the token in the `api_access_token` request header.


        **Where to get it**

        - In OXVO: **Profile -> API access tokens**

        - Self-managed deployments may provide additional admin-managed token flows.


        **Security best practices**

        - Store tokens server-side only (never embed in browser or mobile code).

        - Rotate regularly and revoke immediately when access changes.

        '
    agentBotApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: '**Bot access token** for Workspace APIs. Use this token for bot integrations that automate conversation workflows.


        - Typical use-cases: automated replies, enrichment, and workflow actions inside workspace inboxes.

        - Send the token in the `api_access_token` request header.


        **Where to get it**

        - In OXVO: **Settings -> Developer -> Bots**


        **Security best practices**

        - Keep tokens in secure server-side storage only.

        - Use one token per bot integration, and rotate/revoke on ownership changes.

        '
x-tagGroups:
- name: Workspace & access
  tags:
  - Workspace settings
  - Agents
  - Teams
  - Profile
- name: Inbox & channels
  tags:
  - Inboxes
  - Integrations
- name: Customers & data
  tags:
  - Contacts
  - Customer labels
  - Labels
  - Custom attributes
- name: Conversations & messaging
  tags:
  - Conversations
  - Messages
  - Assignment
  - Conversation labels
  - Macros
  - Saved views
- name: Automation & events
  tags:
  - Automation rules
  - Webhooks
- name: Bot automation
  tags:
  - Bot installations
- name: Knowledge base
  tags:
  - Help center
- name: Analytics
  tags:
  - Reports
- name: Surveys
  tags:
  - CSAT
- name: Public Chat APIs
  tags:
  - 'Public Chat: Contacts'
  - 'Public Chat: Conversations'
  - 'Public Chat: Messages'
x-outputTagGroups: []