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

# Update Infobip integration settings

> Change the Infobip AI agent, queues, reply toggles, resolution status, or rollout.



## OpenAPI

````yaml patch /integrations/infobip/settings
openapi: 3.1.0
info:
  title: OpenCX API
  description: >

    OpenCX is an AI-powered, all-in-one platform for customer support and
    outbound communications.


    Use this API to manage your OpenCX organization's AI agents, actions,
    conversations, contacts, and more.


    To get started, generate a new API key from the dashboard.


    ## Authentication

    All API endpoints require authentication using a Bearer token. You can
    generate an API key from your OpenCX dashboard.


    ## Rate Limiting

    API requests are rate limited to ensure fair usage. The current limits are:

    - 100 requests per minute for standard endpoints

    - 1000 requests per minute for streaming endpoints


    ## Error Handling

    The API uses standard HTTP status codes and returns detailed error messages
    in the response body.
  version: 1.0-beta
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: http://localhost:8080
    description: Development
  - url: https://api.open.cx
    description: Production
security:
  - bearerAuth: []
paths:
  /integrations/infobip/settings:
    patch:
      summary: Update Infobip integration settings
      description: >-
        Partially update the Infobip integration: AI agent, queues, reply
        toggles, resolution behaviour and rollout. Omitted fields keep their
        value; credentials cannot be changed here. 404 when Infobip is not
        connected.
      operationId: updateInfobipSettings
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                default_agent_id:
                  anyOf:
                    - type: string
                    - type: 'null'
                handoff_queue_id:
                  anyOf:
                    - type: string
                    - type: 'null'
                ai_agent_queue_id:
                  anyOf:
                    - type: string
                    - type: 'null'
                handle_unassigned:
                  type: boolean
                process_on_assignment:
                  type: boolean
                close_on_resolve:
                  type: boolean
                on_ai_resolution:
                  type: string
                  enum:
                    - close
                    - solve
                rollout_conversation_count:
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
                handle_out_of_working_hours:
                  type: boolean
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  connected:
                    type: boolean
                  settings:
                    anyOf:
                      - type: object
                        properties:
                          base_url:
                            type: string
                            description: Per-account Infobip API base URL
                          default_agent_id:
                            anyOf:
                              - type: string
                              - type: 'null'
                            description: >-
                              Infobip agent the AI acts as; conversations
                              assigned to it get AI replies
                          default_queue_id:
                            anyOf:
                              - type: string
                              - type: 'null'
                          handoff_queue_id:
                            anyOf:
                              - type: string
                              - type: 'null'
                            description: >-
                              Queue conversations are routed to when handed off
                              to a human
                          ai_agent_queue_id:
                            anyOf:
                              - type: string
                              - type: 'null'
                            description: >-
                              Queue whose unassigned conversations the AI claims
                              first; null = off
                          enabled:
                            type: boolean
                          handle_unassigned:
                            type: boolean
                            description: AI also replies to unassigned conversations
                          process_on_assignment:
                            type: boolean
                            description: >-
                              Assigning a conversation to the AI agent triggers
                              an AI reply
                          close_on_resolve:
                            type: boolean
                            description: >-
                              Resolving the session also updates the Infobip
                              conversation status
                          on_ai_resolution:
                            type: string
                            enum:
                              - close
                              - solve
                            description: >-
                              'close' → CLOSED (final), 'solve' → SOLVED
                              (reopenable); used when close_on_resolve is on
                          rollout_conversation_count:
                            type: integer
                            minimum: -9007199254740991
                            maximum: 9007199254740991
                            description: >-
                              Every Nth eligible conversation is routed to the
                              AI by the rollout URL; 0 = off
                          handle_out_of_working_hours:
                            type: boolean
                            description: Rollout may route to the AI outside office hours
                        required:
                          - base_url
                          - default_agent_id
                          - default_queue_id
                          - handoff_queue_id
                          - ai_agent_queue_id
                          - enabled
                          - handle_unassigned
                          - process_on_assignment
                          - close_on_resolve
                          - on_ai_resolution
                          - rollout_conversation_count
                          - handle_out_of_working_hours
                        additionalProperties: false
                      - type: 'null'
                required:
                  - connected
                  - settings
                additionalProperties: false
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorDto'
components:
  schemas:
    ErrorDto:
      type: object
      properties:
        statusCode:
          type: integer
        message:
          type: string
        error:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.