Conversations

Read what happened during your AI calls
View as Markdown

Every call placed through HollrAI can produce a conversation record. Conversations are the API surface for reading call outcomes and the data generated from the interaction.

Typical uses include retrieving transcripts, reading AI-generated summaries, checking sentiment, accessing recording information, and correlating a call with your own identifiers.

The conversation object

FieldTypeDescription
iduuidUnique identifier for the conversation.
campaignIduuidCampaign the call was placed under.
callSidstringTelephony provider identifier for the call.
streamSidstringIdentifier for the underlying audio stream.
fromNumber / toNumberstringPhone numbers on either end of the call.
directionstringinbound or outbound.
statusstringCurrent status of the call.
durationintegerCall length in seconds.
aiSummarystringAI-generated summary of the conversation.
userSentimentstringAI-inferred sentiment of the caller.
recordingUrlstringRecording URL, when available.
messagesobject[]Turn-by-turn conversation data.
tagstringOptional label associated with the conversation.
timesCalledintegerNumber of times the contact has been called.
sourcestringSource of the call, when tracked.

List conversations

Supports pagination and filters such as status, direction, tag, date range, and sorting.

$curl "https://api.hollr.ai/v1/conversation/conversations?limit=20&direction=outbound" \
> -H "hollr-api-key: $HOLLR_API_KEY"

The campaign-specific endpoint uses POST and accepts the campaign ID in the request body.

$curl -X POST "https://api.hollr.ai/v1/conversation/conversations/campaign" \
> -H "hollr-api-key: $HOLLR_API_KEY" \
> -H "Content-Type: application/json" \
> -d '{
> "campaignId": "CAMPAIGN_ID"
> }'
$curl https://api.hollr.ai/v1/conversation/conversation/CONVERSATION_ID \
> -H "hollr-api-key: $HOLLR_API_KEY"

Useful when your system already has the telephony provider’s call identifier.

$curl https://api.hollr.ai/v1/conversation/conversation/call/CALL_SID \
> -H "hollr-api-key: $HOLLR_API_KEY"

Update or delete a conversation

Conversation updates are partial. For example:

$curl -X PUT https://api.hollr.ai/v1/conversation/conversation/CONVERSATION_ID \
> -H "hollr-api-key: $HOLLR_API_KEY" \
> -H "Content-Type: application/json" \
> -d '{
> "tag": "confirmed",
> "userSentiment": "positive"
> }'

Delete a conversation with:

$curl -X DELETE https://api.hollr.ai/v1/conversation/conversation/CONVERSATION_ID \
> -H "hollr-api-key: $HOLLR_API_KEY"

Pagination

List endpoints return a pagination object alongside results:

1{
2 "page": 1,
3 "limit": 50,
4 "totalCount": 128,
5 "totalPages": 3
6}

Pass page and limit to move through additional pages.