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

# Merge Ticket

> Merge this ticket into `target_ticket_id`; returns the target, which takes over the conversation.



## OpenAPI

````yaml /openapi-v1.json post /api/v1/tickets/{ticket_id}/merge
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/tickets/{ticket_id}/merge:
    post:
      tags:
        - Tickets
      summary: Merge Ticket
      description: >-
        Merge this ticket into `target_ticket_id`; returns the target, which
        takes over the conversation.
      operationId: merge_ticket
      parameters:
        - in: path
          name: ticket_id
          schema:
            format: uuid
            title: Ticket Id
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TicketMergeSchema'
        required: true
      responses:
        '200':
          description: OK
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    TicketMergeSchema:
      properties:
        target_ticket_id:
          format: uuid
          title: Target Ticket Id
          type: string
      required:
        - target_ticket_id
      title: TicketMergeSchema
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

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