OXVO Public Chat: Conversations API

Public chat endpoints for creating, listing, and managing conversations from your product UI.

GitHub OpenAPI

Operations 7

GET /v1/messenger/{channel_id} Inbox details #
POST /v1/messenger/{channel_id}/contacts/{contact_id}/conversations Create a conversation #
GET /v1/messenger/{channel_id}/contacts/{contact_id}/conversations List all conversations #
GET /v1/messenger/{channel_id}/contacts/{contact_id}/conversations/{conversation_id} Get a single conversation #
POST /v1/messenger/{channel_id}/contacts/{contact_id}/conversations/{conversation_id}/toggle_status Resolve a conversation #
POST /v1/messenger/{channel_id}/contacts/{contact_id}/conversations/{conversation_id}/toggle_typing Toggle typing status #
POST /v1/messenger/{channel_id}/contacts/{contact_id}/conversations/{conversation_id}/update_last_seen Update last seen #

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-public-chat-conversations-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-public-chat-conversations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'OXVO - Workspace Public Chat: Conversations 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: 'Public Chat: Conversations'
  description: Public chat endpoints for creating, listing, and managing conversations from your product UI.
paths:
  /v1/messenger/{channel_id}:
    parameters:
    - $ref: '#/components/parameters/channel_id'
    get:
      tags:
      - 'Public Chat: Conversations'
      operationId: get-details-of-a-inbox
      summary: Inbox details
      description: Get the details of an inbox
      security: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/public_inbox'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '404':
          description: The given inbox does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
  /v1/messenger/{channel_id}/contacts/{contact_id}/conversations:
    parameters:
    - $ref: '#/components/parameters/channel_id'
    - $ref: '#/components/parameters/contact_id'
    post:
      tags:
      - 'Public Chat: Conversations'
      operationId: create-a-conversation
      summary: Create a conversation
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/public_conversation_create_payload'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/public_conversation'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
    get:
      tags:
      - 'Public Chat: Conversations'
      operationId: list-all-contact-conversations
      summary: List all conversations
      description: List all conversations for the contact
      security: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                description: Array of conversations
                items:
                  $ref: '#/components/schemas/public_conversation'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
  /v1/messenger/{channel_id}/contacts/{contact_id}/conversations/{conversation_id}:
    parameters:
    - $ref: '#/components/parameters/channel_id'
    - $ref: '#/components/parameters/contact_id'
    - $ref: '#/components/parameters/conversation_id'
    get:
      tags:
      - 'Public Chat: Conversations'
      operationId: get-single-conversation
      summary: Get a single conversation
      description: Retrieves the details of a specific conversation
      security: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/public_conversation'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '404':
          description: Conversation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
  /v1/messenger/{channel_id}/contacts/{contact_id}/conversations/{conversation_id}/toggle_status:
    parameters:
    - $ref: '#/components/parameters/channel_id'
    - $ref: '#/components/parameters/contact_id'
    - $ref: '#/components/parameters/conversation_id'
    post:
      tags:
      - 'Public Chat: Conversations'
      operationId: resolve-conversation
      summary: Resolve a conversation
      description: Marks a conversation as resolved
      security: []
      responses:
        '200':
          description: Conversation resolved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/public_conversation'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '404':
          description: Conversation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
  /v1/messenger/{channel_id}/contacts/{contact_id}/conversations/{conversation_id}/toggle_typing:
    parameters:
    - $ref: '#/components/parameters/channel_id'
    - $ref: '#/components/parameters/contact_id'
    - $ref: '#/components/parameters/conversation_id'
    post:
      tags:
      - 'Public Chat: Conversations'
      operationId: toggle-typing-status
      summary: Toggle typing status
      description: Toggles the typing status in a conversation
      security: []
      parameters:
      - name: typing_status
        in: query
        required: true
        schema:
          type: string
        description: Typing status, either 'on' or 'off'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                typing_status:
                  type: string
                  enum:
                  - 'on'
                  - 'off'
                  description: The typing status to set
                  example: 'on'
      responses:
        '200':
          description: Typing status toggled successfully
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '404':
          description: Conversation not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
  /v1/messenger/{channel_id}/contacts/{contact_id}/conversations/{conversation_id}/update_last_seen:
    parameters:
    - $ref: '#/components/parameters/channel_id'
    - $ref: '#/components/parameters/contact_id'
    - $ref: '#/components/parameters/conversation_id'
    post:
      tags:
      - 'Public Chat: Conversations'
      operationId: update-last-seen
      summary: Update last seen
      description: Updates the last seen time of the contact in a conversation
      security: []
      responses:
        '200':
          description: Last seen updated successfully
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '404':
          description: Conversation 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.
    public_conversation_create_payload:
      type: object
      properties:
        custom_attributes:
          type: object
          description: Custom attributes of the conversation
          example: {}
    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'
    public_message_attachment:
      type: object
      additionalProperties: true
      description: Attachment payload. Available fields vary by attachment file_type.
      properties:
        id:
          type: integer
          description: Id of the attachment
        message_id:
          type: integer
          description: Id of the parent message
        file_type:
          type: string
          enum:
          - image
          - audio
          - video
          - file
          - location
          - fallback
          - share
          - story_mention
          - contact
          - ig_reel
          - ig_post
          - ig_story
          - embed
          description: Type of the attached file
        account_id:
          type: integer
          description: Id of the account
        extension:
          type:
          - string
          - 'null'
          description: File extension
        data_url:
          type:
          - string
          - 'null'
          description: URL of the file. Can be null when an attachment variant has no external URL.
        thumb_url:
          type: string
          description: URL of the file thumbnail
        file_size:
          type: integer
          description: File size in bytes
        width:
          type:
          - integer
          - 'null'
          description: Width of the attachment when available
        height:
          type:
          - integer
          - 'null'
          description: Height of the attachment when available
        coordinates_lat:
          type: number
          description: Latitude for location attachments
        coordinates_long:
          type: number
          description: Longitude for location attachments
        fallback_title:
          type:
          - string
          - 'null'
          description: Fallback title for location, fallback, and contact attachments when available
        meta:
          type: object
          description: Metadata for contact attachments
        transcribed_text:
          type: string
          description: Transcribed text for audio attachments
    public_conversation:
      type: object
      properties:
        id:
          type: integer
          description: Id of the conversation
        uuid:
          type: string
          description: UUID of the conversation
        inbox_id:
          type: integer
          description: The inbox id of the conversation
        contact_last_seen_at:
          type: integer
          description: Timestamp of when the contact last seen the conversation (Unix timestamp)
        status:
          type: string
          enum:
          - open
          - resolved
          - pending
          - snoozed
          description: The status of the conversation
        agent_last_seen_at:
          type: integer
          description: Timestamp of when the agent last seen the conversation (Unix timestamp)
        messages:
          type: array
          items:
            $ref: '#/components/schemas/public_message'
          description: Messages in the conversation
        contact:
          $ref: '#/components/schemas/public_contact_record'
    public_contact_record:
      type: object
      additionalProperties: true
      description: Full serialized contact record returned when the public API renders a Contact model directly.
      properties:
        id:
          type: integer
          description: Id of the contact
        name:
          type:
          - string
          - 'null'
          description: Name of the contact when available
        email:
          type:
          - string
          - 'null'
          description: Email of the contact
        phone_number:
          type:
          - string
          - 'null'
          description: Phone number of the contact
        identifier:
          type:
          - string
          - 'null'
          description: Identifier of the contact
        blocked:
          type: boolean
          description: Whether the contact is blocked
        additional_attributes:
          type:
          - object
          - 'null'
          description: Additional attributes of the contact when present
        custom_attributes:
          type:
          - object
          - 'null'
          description: Custom attributes of the contact when present
        contact_type:
          type:
          - string
          - 'null'
          description: Contact type of the contact when available
        country_code:
          type:
          - string
          - 'null'
          description: Country code of the contact
        last_activity_at:
          type:
          - string
          - 'null'
          description: Last activity timestamp of the contact in ISO 8601 format
        created_at:
          type:
          - string
          - 'null'
          description: Created timestamp of the contact in ISO 8601 format
        updated_at:
          type:
          - string
          - 'null'
          description: Updated timestamp of the contact in ISO 8601 format
        last_name:
          type:
          - string
          - 'null'
          description: Last name of the contact
        middle_name:
          type:
          - string
          - 'null'
          description: Middle name of the contact
        location:
          type:
          - string
          - 'null'
          description: Location of the contact
        account_id:
          type: integer
          description: Account id of the contact
        company_id:
          type:
          - integer
          - 'null'
          description: Company id of the contact
        label_list:
          type: array
          description: Labels applied to the contact
          items:
            type: string
    public_inbox:
      type: object
      properties:
        identifier:
          type: string
          description: Inbox identifier
        name:
          type: string
          description: Name of the inbox
        timezone:
          type: string
          description: The timezone defined on the inbox
        working_hours:
          type: array
          description: The working hours defined on the inbox
          items:
            type: object
            properties:
              day_of_week:
                type: integer
                description: Day of the week as a number. Sunday -> 0, Saturday -> 6
              open_all_day:
                type: boolean
                description: Whether or not the business is open the whole day
              closed_all_day:
                type: boolean
                description: Whether or not the business is closed the whole day
              open_hour:
                type: integer
                description: Opening hour. Can be null if closed all day
              open_minutes:
                type: integer
                description: Opening minute. Can be null if closed all day
              close_hour:
                type: integer
                description: Closing hour. Can be null if closed all day
              close_minutes:
                type: integer
                description: Closing minute. Can be null if closed all day
        working_hours_enabled:
          type: boolean
          description: Whether of not the working hours are enabled on the inbox
        csat_survey_enabled:
          type: boolean
          description: Whether of not the Customer Satisfaction survey is enabled on the inbox
        greeting_enabled:
          type: boolean
          description: Whether of not the Greeting Message is enabled on the inbox
        identity_validation_enabled:
          type: boolean
          description: Whether of not the User Identity Validation is enforced on the inbox
    public_message:
      type: object
      properties:
        id:
          type: integer
          description: Id of the message
        content:
          type:
          - string
          - 'null'
          description: Text content of the message. Can be null for attachment-only messages.
        message_type:
          type: integer
          description: 'Denotes the message type. Possible values: 0 (incoming), 1 (outgoing), 2 (activity), 3 (template)'
        content_type:
          type: string
          description: Content type of the message
        content_attributes:
          type: object
          description: Additional content attributes of the message
        created_at:
          type: integer
          description: Created at Unix timestamp of the message
        conversation_id:
          type: integer
          description: Display Id of the conversation the message belongs to
        attachments:
          type: array
          description: Attachments if any
          items:
            $ref: '#/components/schemas/public_message_attachment'
        sender:
          $ref: '#/components/schemas/public_message_sender'
    public_message_sender:
      type: object
      additionalProperties: true
      description: Polymorphic sender payload returned by push_event_data. Available fields vary by sender type.
      properties:
        id:
          type: integer
          description: Id of the sender
        name:
          type:
          - string
          - 'null'
          description: Name of the sender when available
        avatar_url:
          type: string
          description: Avatar URL of the sender. Present for senders of type user, agent_bot, and captain_assistant. Not present for contact senders (use thumbnail instead).
        thumbnail:
          type: string
          description: Avatar/thumbnail URL of the sender. Contact senders use this field; user senders may also include it.
        type:
          type: string
          enum:
          - contact
          - user
          - agent_bot
          - captain_assistant
          description: Type of the sender
        available_name:
          type:
          - string
          - 'null'
          description: Display name for user senders
        availability_status:
          type:
          - string
          - 'null'
          description: Availability status for user senders
        email:
          type:
          - string
          - 'null'
          description: Email of the sender when the sender is a contact
        phone_number:
          type:
          - string
          - 'null'
          description: Phone number of the sender when the sender is a contact
        identifier:
          type:
          - string
          - 'null'
          description: Identifier of the sender when the sender is a contact
        blocked:
          type: boolean
          description: Whether the sender is blocked when the sender is a contact
        additional_attributes:
          type:
          - object
          - 'null'
          description: Additional attributes when the sender is a contact and available
        custom_attributes:
          type:
          - object
          - 'null'
          description: Custom attributes when the sender is a contact and available
        description:
          type:
          - string
          - 'null'
          description: Description when the sender is an OXVO AI assistant
        created_at:
          type:
          - string
          - 'null'
          description: Created timestamp in ISO 8601 format when the sender is an OXVO AI assistant
  parameters:
    contact_id:
      in: path
      name: contact_id
      schema:
        type: string
      required: true
      description: The source ID of the contact returned when the contact is created
    conversation_id:
      in: path
      name: conversation_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the conversation
    channel_id:
      in: path
      name: channel_id
      schema:
        type: string
      required: true
      description: The identifier of the API inbox channel used by Messenger endpoints
  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: []