Skip to main content
These endpoints let you retrieve, inspect, and delete conversation data for completed calls.
All requests require an Authorization: Bearer YOUR_GUAVA_API_KEY header. See the API Overview for details.

List conversations

List your organization’s conversations, newest first. Use the filters below to narrow results — for example, to pull every call to or from a given phone number, with each call’s duration, to build a usage or billing report.

Parameters

Response

A JSON object with the following fields: Each conversation includes the call’s duration_sec, so you can total call time without fetching each conversation individually.

Pagination

Conversations are returned newest first. When has_more is true, request the next page by calling again with after set to the next_cursor from the previous response. Keep paging until has_more is false to retrieve the full set.

Errors

Example

Sample response:
The + in a phone number must be URL-encoded as %2B in query strings. The curl -G --data-urlencode form above handles this for you.

Get conversation details

Retrieve metadata about a single conversation.

Parameters

Response

A JSON object with the following fields:

Errors

Example


Get conversation transcript

Download the transcript for a conversation as a list of turns.

Parameters

Response

A JSON array of turn objects. Each turn has:

Errors

Example


Get conversation recording

Download the audio recording for a conversation in WAV format.

Parameters

Response

WAV audio file.

Errors

Example


Get conversation channel recording

Download the audio recording for a single side of a conversation in WAV format. This is useful when you want to analyze or store each speaker’s audio separately.

Parameters

Response

WAV audio file.

Errors

Example