Skip to main content
Use this endpoint to retrieve the full transcript for a roleplay training call. Shilo sanitizes the raw recording transcript and applies AI-resolved speaker labels so that each segment is clearly attributed to the agent or the AI-simulated lead. Unlike transcripts for standard calls and appointments, roleplay transcripts are available regardless of your CRM integration — there is no Follow Up Boss restriction. Because speaker resolution depends on completed analysis, you should wait until the roleplay’s analysis.progress field reaches 100 before requesting the transcript, or be prepared to handle a 409 response and retry.

Endpoint

Authentication

All requests require your API key in the x-api-key header.

Path Parameters

string
required
The unique identifier for the roleplay. Two formats are accepted:
  • {uuid} — The Shilo roleplay UUID (e.g., ee6f2136-b94a-4438-9335-3acf5b2a0d31)
  • call_event_id:{uuid} — The Shilo Call Event UUID associated with this roleplay session (e.g., call_event_id:ee6f2136-b94a-4438-9335-3acf5b2a0d31)

Response

A successful request returns HTTP 200 with a transcript object. The exact shape of the transcript object may vary, but will include speaker-attributed text segments with timing information.
Roleplay transcripts are supported for all accounts regardless of CRM integration — unlike call and appointment transcripts, there is no Follow Up Boss restriction.
The transcript response shape may vary. The example below shows a representative structure. Always treat the transcript as a free-form JSON object (additionalProperties: true in the OpenAPI spec).
Fetch the transcript only after analysis.progress equals 100. If speaker resolution is still in progress, the API returns 409 Conflict — wait and retry.

Error Responses

Example Request

Example Response