EvoHub DocsEvoHub Docs Sign in

Read a ticket and its conversation

Use with AI
View as MarkdownThis page as plain text, for pasting into an AI tool Open in ClaudeAsk Claude questions about this page Open in ChatGPTAsk ChatGPT questions about this page
Connect to Cursor / VS Code / ClaudeSearch and read these docs from your AI tool (MCP server)

MCP server URL

https://docs.evohub.io/mcp

Claude Code

claude mcp add --transport http evohub-docs https://docs.evohub.io/mcp

Claude (claude.ai and Claude Desktop): Settings → Connectors → Add custom connector, and paste the URL above.

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "evohub-docs": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://docs.evohub.io/mcp"
      ]
    }
  }
}

Cursor — ~/.cursor/mcp.json

{
  "mcpServers": {
    "evohub-docs": {
      "url": "https://docs.evohub.io/mcp"
    }
  }
}

VS Code — .vscode/mcp.json

{
  "servers": {
    "evohub-docs": {
      "type": "http",
      "url": "https://docs.evohub.io/mcp"
    }
  }
}
GET/api/v1/support/tickets/{id}

One of the caller's tickets with every message on it, oldest first. A message from the caller has author_type user; an answer from EvoHub support has author_type admin.

Requires no scope.

Authorization

Any one of:

Parameters

Path parameters

  • id string required
    The ticket's ID.
    Example: tkt_3f9a1c2e7b5d4a60

Responses

200

The ticket and its messages.

Content type: application/json

Type: object

  • success boolean
    Value: true
  • data TicketWithMessages
    Show TicketWithMessages properties
    • ticket Ticket
      Show Ticket properties
      • id string
        Example: tkt_3f9a1c2e7b5d4a60
      • org_id string
      • user_id string
        Who opened the ticket — the person behind a personal key, or the organization key's own id.
      • subject string
      • type string
        One of: support bug feature question
      • status string
        open when new or after the caller replies. EvoHub support moves it to pending, resolved or closed.
        One of: open pending resolved closed
      • priority string
        One of: low normal high urgent
      • reporter_email string
        As sent when the ticket was opened; "" when it was not.
      • reporter_name string
      • org_name string
      • url string
      • created_at string (date-time)
      • updated_at string (date-time)
    • messages array of TicketMessage
      Oldest first.
      Show TicketMessage properties
      • id string
        Example: msg_8e2d4f6a1b3c5d70
      • ticket_id string
      • author_id string
      • author_type string
        user for the ticket's owner, admin for EvoHub support.
        One of: user admin
      • body string
      • created_at string (date-time)

401

No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).

Content type: application/json

Type: Error

  • success boolean
    Sent by Support; the gateway's own refusals leave it out.
    Value: false
  • error object required
    • code string required
      Example: NOT_FOUND
    • message string required
      Example: ticket not found
    • request_id string

404

The ticket does not exist, or it is not one of the caller's own (NOT_FOUND).

Content type: application/json

Type: Error

  • success boolean
    Sent by Support; the gateway's own refusals leave it out.
    Value: false
  • error object required
    • code string required
      Example: NOT_FOUND
    • message string required
      Example: ticket not found
    • request_id string

429

Too many requests (RATE_LIMITED). Wait for Retry-After seconds.

Headers

  • Retry-After integer
    Seconds to wait before retrying.

Content type: application/json

Type: Error

  • success boolean
    Sent by Support; the gateway's own refusals leave it out.
    Value: false
  • error object required
    • code string required
      Example: NOT_FOUND
    • message string required
      Example: ticket not found
    • request_id string

500

Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.

Content type: application/json

Type: Error

  • success boolean
    Sent by Support; the gateway's own refusals leave it out.
    Value: false
  • error object required
    • code string required
      Example: NOT_FOUND
    • message string required
      Example: ticket not found
    • request_id string

Example request

curl -X GET 'https://evohub.io/api/v1/support/tickets/tkt_3f9a1c2e7b5d4a60' \
  -H 'Authorization: Bearer <TOKEN>'