Upgrade a case to Pro

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://docs.usehearsay.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "integrations MCP server": {
    "url": "https://docs.usehearsay.com/mcp"
  }
}

Close
POST /cases/{caseId}/pro-upgrade

Records a one-time Pro upgrade charge for the case and returns status: 'processing'; the case becomes Pro once the invoice is paid, or right away when the plan already includes Pro, and repeating the request does not charge again. Requires a member role or above in the organization, owner or admin access to the case and an active plan (403 otherwise); not available to opposing counsel. Returns 403 when case billing is not enabled for the organization or the case belongs to a different organization than the organization header, and 409 when the case is already Pro.

Headers

  • organization string Required

    id of the selected (active) organization

Path parameters

  • caseId string Required

    Id of the case

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • data object Required
      Hide data attribute Show data attribute object
      • status string Required
    • statusCode number Required
    • timestamp string(date-time) Required
POST /cases/{caseId}/pro-upgrade
curl \
 --request POST 'http://api.example.com/cases/{caseId}/pro-upgrade' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "organization: string"
Response examples (200)
{
  "data": {
    "status": "processing"
  },
  "statusCode": 200,
  "timestamp": "2026-01-15T10:15:00.000Z"
}