Endpoint
Authentication
All requests require your API key in thex-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 HTTP200 with the matching Roleplay object.
string
required
The Shilo UUID for this roleplay record.
string
required
Always
"roleplay" for records returned by this endpoint.string
required
The ISO-8601 timestamp indicating when this roleplay was created in Shilo.
number | null
The duration of the roleplay call in seconds.
null if not yet available.string | null
The Shilo UUID of the agent who completed this roleplay.
null if no user is matched.string | null
The external user ID for the agent, as provided by your integration.
null if not provided.string | null
The Shilo UUID of the contact associated with this roleplay.
null if no contact is matched.string | null
The external contact ID for the associated contact, as provided by your integration.
null if not provided.