OXVO Custom attributes API

Define custom fields for contacts and conversations.

GitHub OpenAPI

Operations 5

GET /v1/workspaces/{workspace_id}/custom_attribute_definitions List all custom attributes in an account #
POST /v1/workspaces/{workspace_id}/custom_attribute_definitions Add a new custom attribute #
GET /v1/workspaces/{workspace_id}/custom_attribute_definitions/{id} Get a custom attribute details #
PATCH /v1/workspaces/{workspace_id}/custom_attribute_definitions/{id} Update custom attribute in Account #
DELETE /v1/workspaces/{workspace_id}/custom_attribute_definitions/{id} Remove a custom attribute 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-custom-attributes-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-custom-attributes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OXVO - Workspace Custom attributes 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: Custom Attributes
  description: Define custom fields for contacts and conversations.
paths:
  /v1/workspaces/{workspace_id}/custom_attribute_definitions:
    parameters:
    - $ref: '#/components/parameters/workspace_id'
    get:
      tags:
      - Custom Attributes
      operationId: get-account-custom-attribute
      summary: List all custom attributes in an account
      parameters:
      - name: attribute_model
        in: query
        schema:
          type: string
          enum:
          - '0'
          - '1'
        description: conversation_attribute(0)/contact_attribute(1)
        required: true
      description: Get details of custom attributes in an Account
      security:
      - userApiKey: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                description: Array of all custom attributes
                items:
                  $ref: '#/components/schemas/custom_attribute'
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
    post:
      tags:
      - Custom Attributes
      operationId: add-new-custom-attribute-to-account
      summary: Add a new custom attribute
      description: Add a new custom attribute to account
      security:
      - userApiKey: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/custom_attribute_create_update_payload'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/custom_attribute'
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
  /v1/workspaces/{workspace_id}/custom_attribute_definitions/{id}:
    parameters:
    - $ref: '#/components/parameters/workspace_id'
    - name: id
      in: path
      schema:
        type: number
      description: ID of the custom attribute
      required: true
    get:
      tags:
      - Custom Attributes
      operationId: get-details-of-a-single-custom-attribute
      summary: Get a custom attribute details
      security:
      - userApiKey: []
      description: Get the details of a custom attribute in the account
      parameters:
      - $ref: '#/components/parameters/workspace_id'
      - in: path
        name: id
        schema:
          type: integer
        required: true
        description: The ID of the custom attribute to be updated.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/custom_attribute'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '404':
          description: The given attribute ID does not exist in the account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
    patch:
      tags:
      - Custom Attributes
      operationId: update-custom-attribute-in-account
      summary: Update custom attribute in Account
      description: Update a custom attribute in account
      security:
      - userApiKey: []
      parameters:
      - in: path
        name: id
        schema:
          type: integer
        required: true
        description: The ID of the custom attribute to be updated.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/custom_attribute_create_update_payload'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/custom_attribute'
        '404':
          description: Agent not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '403':
          description: Access denied
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
    delete:
      tags:
      - Custom Attributes
      operationId: delete-custom-attribute-from-account
      summary: Remove a custom attribute from account
      security:
      - userApiKey: []
      parameters:
      - $ref: '#/components/parameters/workspace_id'
      - in: path
        name: id
        schema:
          type: integer
        required: true
        description: The ID of the custom attribute to be deleted
      responses:
        '200':
          description: Success
        '404':
          description: Custom attribute not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
        '403':
          description: Access denied
          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.
    custom_attribute:
      type: object
      properties:
        id:
          type: integer
          description: Identifier
        attribute_display_name:
          type: string
          description: Attribute display name
        attribute_display_type:
          type: string
          description: Attribute display type (text, number, currency, percent, link, date, list, checkbox)
        attribute_description:
          type: string
          description: Attribute description
        attribute_key:
          type: string
          description: Attribute unique key value
        regex_pattern:
          type: string
          description: Regex pattern
        regex_cue:
          type: string
          description: Regex cue
        attribute_values:
          type: string
          description: Attribute values
        attribute_model:
          type: string
          description: Attribute type(conversation_attribute/contact_attribute)
        default_value:
          type: string
          description: Attribute default value
        created_at:
          type: string
          description: The date and time when the custom attribute was created
        updated_at:
          type: string
          description: The date and time when the custom attribute was updated
    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'
    custom_attribute_create_update_payload:
      type: object
      properties:
        attribute_display_name:
          type: string
          description: Attribute display name
          example: Custom Attribute
        attribute_display_type:
          type: integer
          description: Attribute display type (text- 0, number- 1, currency- 2, percent- 3, link- 4, date- 5, list- 6, checkbox- 7)
          example: 0
        attribute_description:
          type: string
          description: Attribute description
          example: This is a custom attribute
        attribute_key:
          type: string
          description: Attribute unique key value
          example: custom_attribute
        attribute_values:
          type: array
          description: Attribute values
          items:
            type: string
          example:
          - value1
          - value2
        attribute_model:
          type: integer
          description: Attribute type(conversation_attribute- 0, contact_attribute- 1)
          example: 0
        regex_pattern:
          type: string
          description: Regex pattern (Only applicable for type- text). The regex pattern is used to validate the attribute value(s).
          example: ^[a-zA-Z0-9]+$
        regex_cue:
          type: string
          description: Regex cue message (Only applicable for type- text). The cue message is shown when the regex pattern is not matched.
          example: Please enter a valid value
  parameters:
    workspace_id:
      in: path
      name: workspace_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the workspace
  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: []