?
voice.listSessions
Lists the caller's past voice sessions as call records, newest first.
voice.listSessions(cursor?) → Promise<VoiceSessionListPage>
Lists the current user's (or anonymous visitor's) past sessions, newest first and cursor-paged, as call-record summaries without the transcript. It is the material for a call-history view; pair it with getSession for one record in full.
Parameters
cursor
string
Pagination cursor from a prior page's nextCursor.
Page through history
const { sessions, nextCursor } = await voice.listSessions(); const detail = await voice.getSession(sessions[0].id);