> ## Documentation Index
> Fetch the complete documentation index at: https://developers.voxys.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Odoo

> Validate the URL, test authentication, and store the connection.



## OpenAPI

````yaml /api-reference/voxys_odoo_swagger.json post /api/v1/accounts/{account_id}/integrations/odoo
openapi: 3.1.0
info:
  title: Voxys Connect - Odoo CRM
  description: >-
    Connect a self-hosted Odoo instance: field mapping, two-way contact/lead
    sync, and read-only orders/invoices in the conversation.
  version: 1.0.0
  contact:
    email: support@voxys.ai
  license:
    name: MIT License
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://connect.voxys.ai
security:
  - userApiKey: []
tags:
  - name: Odoo CRM
    description: Odoo connection, field mappings, sync, and partner records.
paths:
  /api/v1/accounts/{account_id}/integrations/odoo:
    post:
      tags:
        - Odoo CRM
      summary: Connect Odoo
      description: Validate the URL, test authentication, and store the connection.
      operationId: connectOdoo
      parameters:
        - $ref: '#/components/parameters/account_id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                url:
                  type: string
                  description: Odoo base URL
                db:
                  type: string
                  description: Database name
                login:
                  type: string
                  description: User login/email
                api_key:
                  type: string
                  description: Odoo API key
      responses:
        '200':
          description: Successful response
        '401':
          $ref: '#/components/responses/unauthorized'
        '404':
          $ref: '#/components/responses/not_found'
        '422':
          $ref: '#/components/responses/unprocessable'
components:
  parameters:
    account_id:
      name: account_id
      in: path
      required: true
      schema:
        type: integer
      description: Numeric ID of the account
  responses:
    unauthorized:
      description: Authentication failed – invalid or missing api_access_token
    not_found:
      description: Resource not found
    unprocessable:
      description: Unprocessable entity – validation errors
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        All API requests must include the `api_access_token` header with a valid
        agent or administrator token.

````