Get Engagement Decision

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.thankly.ai/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Thankly MCP server": {
    "url": "https://docs.thankly.ai/mcp"
  }
}

Close
GET /engage/decisions/{decision_id}

Poll one engagement decision's widget-convergent result (engagement-content-blocks Phase 2′): the decision widget plus the enrichment widgets it spawned, scoped to this decision. Partner-authed and org-scoped by the decision's experience.

Path parameters

  • decision_id string Required

Responses

  • 200 application/json

    Successful Response

    Hide response attributes Show response attributes object
    • experienceId string Required
    • status string Required
    • widgets array[object] Required

      Additional properties are allowed.

  • 422 application/json

    Validation Error

    Hide response attribute Show response attribute object
    • detail array[object]
      Hide detail attributes Show detail attributes object
      • loc array[string | integer] Required
      • msg string Required
      • type string Required
      • input
      • ctx object
GET /engage/decisions/{decision_id}
curl \
 --request GET 'http://api.example.com/engage/decisions/{decision_id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "experienceId": "string",
  "status": "string",
  "widgets": [
    {}
  ]
}
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "ctx": {}
    }
  ]
}