/api/v1/calls endpoint for non-roleplay recordings.
Endpoint
Authentication
All requests require your API key in thex-api-key header.
Query Parameters
number
default:"50"
The maximum number of roleplay records to return per page. Accepted values are between
1 and 100.string
An opaque pagination cursor returned in the previous response’s
pagination.next_cursor field. Pass this value to retrieve the next page of results. Omit to start from the beginning.string
default:"asc"
The sort order for results, based on
created_date. Accepted values are asc (oldest first) or desc (newest first).string
Return only roleplays created on or after this date and time. Must be an ISO-8601 formatted string (e.g.,
2030-01-01T00:00:00Z).string
Return only roleplays created on or before this date and time. Must be an ISO-8601 formatted string (e.g.,
2030-12-31T23:59:59Z).string
Filter roleplays by the source they were generated from.
string
Filter roleplays by the associated agent. Accepts a prefix-qualified identifier in one of three formats:
id:{uuid}— Shilo user UUIDexternal_user_id:{value}— your external user ID{uuid}— bare Shilo user UUID (shorthand)
string
Filter roleplays by the associated contact. Accepts a prefix-qualified identifier in one of three formats:
id:{uuid}— Shilo contact UUIDexternal_contact_id:{value}— your external contact ID{uuid}— bare Shilo contact UUID (shorthand)
string
Filter roleplays by the pipeline stage associated with the scenario (e.g., prospecting, discovery, closing).
Response
A successful request returns HTTP200 with a RoleplaysResponseDto object.
Roleplay[]
An array of Roleplay objects matching the query filters.
object
required
Metadata for paginating through additional results.
Roleplays are returned separately from regular call recordings. Use the
/api/v1/calls endpoint to list non-roleplay call recordings.