Building out a custom agent workspace in React and trying to pull the AI summary cards when a bot hands off to a human. The Client App SDK v2.12.4 keeps throwing a 403 Forbidden on the conversationsApi.getAiConversationSummary call. We’ve got the conversation:ai:read and ai:conversationsummary:read permissions scoped in the OAuth client, but the console just dumps Access denied for resource: /api/v2/conversations/ai/analytics/summaries. The UI layout is pretty straightforward. React handles the routing, and a simple useEffect hooks into the conversationUpdated event from the SDK. It’s just a split pane with the transcript on the left and the AI tags on the right. Screen pops work fine for the CRM side, so the embeddable widget isn’t the bottleneck here. Sorry for the rookie question, but I keep mixing up the Conversation AI API with the older Virtual Agent bot flows. Are those endpoints even supposed to be accessible through the standard SDK client, or do I need to hit the REST gateway directly? The docs mention something about bot analytics but the payload structure looks totally different. Here is the exact hook setup:
useEffect(() => {
const fetchSummary = async () => {
try {
const res = await sdkClient.conversationsApi.getAiConversationSummary(conversationId);
setAiTags(res.body.tags);
} catch (err) {
console.error(“AI summary failed”, err);
}
};
if (sdkClient && conversationId) fetchSummary();
}, [conversationId]);
The network tab shows the request going out with the correct Authorization Bearer token. Response headers just list x-customer-id and content-type application/json. Nothing about rate limiting or scope rejection. The widget is doing jack all until the permission resolves. Maybe the org hasn’t enabled the right tier for the AI module yet. Checking the admin console now.