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

# Resolve a campaign attention item

> Close an attention item that can't be retried, recording how it was handled.



## OpenAPI

````yaml /api-reference/openapi.json post /v1/convai/outbound-campaigns/attention/{attention_id}/resolve
openapi: 3.1.0
info:
  title: Threetone API
  description: >-
    APIs for the Threetone Agents Platform and shared workspace resources.
    Authenticate programmatic requests with an API key in the x-api-key header.
  version: '1.0'
servers:
  - url: https://api.threetone.in
    description: Production
security: []
paths:
  /v1/convai/outbound-campaigns/attention/{attention_id}/resolve:
    post:
      tags:
        - Agents Platform
      summary: Resolve a campaign attention item
      description: >-
        Close an attention item that can't be retried, recording how it was
        handled.
      operationId: resolve_attention
      parameters:
        - name: attention_id
          in: path
          required: true
          schema:
            type: string
            title: Attention Id
        - name: x-api-key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Your API key for programmatic access. Send it in the x-api-key
              header; you can create and manage keys from the Developers page.
            title: X-Api-Key
          description: >-
            Your API key for programmatic access. Send it in the x-api-key
            header; you can create and manage keys from the Developers page.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AttentionResolutionRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AttentionView'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AttentionResolutionRequest:
      properties:
        resolution:
          type: string
          maxLength: 1000
          minLength: 1
          title: Resolution
          description: How the item was handled.
      additionalProperties: false
      type: object
      required:
        - resolution
      title: AttentionResolutionRequest
    AttentionView:
      properties:
        attention_id:
          type: string
          title: Attention Id
        campaign_id:
          type: string
          title: Campaign Id
        reason:
          type: string
          title: Reason
          description: >-
            The cause, such as `agent_unavailable` or
            `phone_number_unavailable`.
        detail:
          type: string
          title: Detail
          description: What went wrong and how to fix it.
        status:
          $ref: '#/components/schemas/AttentionStatus'
        retryable:
          type: boolean
          title: Retryable
          description: >-
            Whether a retry places the calls the item holds back. Items that
            can't be retried are closed by resolving them.
        resolution:
          anyOf:
            - type: string
            - type: 'null'
          title: Resolution
          description: The note recorded on resolving the item.
        created_at_unix:
          type: integer
          title: Created At Unix
        updated_at_unix:
          type: integer
          title: Updated At Unix
      type: object
      required:
        - attention_id
        - campaign_id
        - reason
        - detail
        - status
        - retryable
        - resolution
        - created_at_unix
        - updated_at_unix
      title: AttentionView
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AttentionStatus:
      type: string
      enum:
        - open
        - resolved
        - retrying
      title: AttentionStatus
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````

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