Close an inbox conversation

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api.documentation.omnicado.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "omnicado MCP server": {
    "url": "https://api.documentation.omnicado.com/mcp"
  }
}

Close
POST /inbox/tickets/{ticketId}/close

Closes the conversation. Allegro disputes and claims (allegro_issue) and Kaufland tickets (kaufland_ticket) are closed on the marketplace too; Allegro message threads (allegro_messaging) only in Omnicado. Closing runs asynchronously.

Path parameters

  • ticketId integer Required

Responses

  • 200 application/json

    The ticket was already closed; nothing was queued

    Hide response attributes Show response attributes object
    • id integer
    • mailboxId integer
    • source string

      Values are allegro_messaging, allegro_issue, or kaufland_ticket.

    • status string

      Values are open, waiting_for_seller, waiting_for_buyer, closed, accepted, or rejected.

    • remoteId string

      Conversation ID on the marketplace

    • subject string | null
    • buyerLogin string | null
    • orderId integer | null

      Omnicado order ID, when the conversation is paired with an order

    • remoteOrderId string | null

      Order number on the marketplace

    • isRead boolean
    • lastMessageAt string(date-time) | null
    • replyDueAt string(date-time) | null
    • updatedAt string(date-time) | null

      Last change of the ticket - a new message, a status change, a read change or a reply error

    • lastReplyError string | null

      Why the last reply was refused by the marketplace; cleared after a successful reply

    • lastReplyErrorAt string(date-time) | null
  • 202 application/json

    Closing queued

    Hide response attributes Show response attributes object
    • status string
    • ticketId integer
  • 404

    Ticket not found

  • 405

    Only POST is allowed

POST /inbox/tickets/{ticketId}/close
curl \
 --request POST 'api.services.omnicado.com/api/v2/inbox/tickets/{ticketId}/close' \
 --header "X-OMNICADO-TOKEN: $API_KEY"
Response examples (200)
{
  "id": 4521,
  "mailboxId": 727,
  "source": "allegro_messaging",
  "status": "open",
  "remoteId": "string",
  "subject": "string",
  "buyerLogin": "string",
  "orderId": 42,
  "remoteOrderId": "string",
  "isRead": true,
  "lastMessageAt": "2026-05-04T09:42:00Z",
  "replyDueAt": "2026-05-04T09:42:00Z",
  "updatedAt": "2026-05-04T09:42:00Z",
  "lastReplyError": "string",
  "lastReplyErrorAt": "2026-05-04T09:42:00Z"
}
Response examples (202)
{
  "status": "queued",
  "ticketId": 4521
}