Daybook DocsDaybook Docs
Browse

Read the transcript

GET/v1/calls/{id}/transcript

What was said on a call, turn by turn, with who said it and when, and a link to the recording.

Used in Payer calls

The transcript is the artifact a CRM keeps beside the answer: what the rep said, in the rep's words, with the phone tree, the hold and any note you sent the agent. The transcript is also on the call in the Daybook app, in Live calls as it happens and in Payer calls after, and the MCP tool get_call returns the turns. See Payer calls.

Call this with AIA brief with this endpoint's request, response and auth, ready for a typed client in your language.

Path parameters

  • idstringrequired
    The call id.
Try itEdit the fields and copy the request. Nothing is sent from this page.
curl -X GET https://api.daybookhealthcare.com/v1/calls/{id}/transcript \
  -H "Authorization: Bearer $DAYBOOK_API_KEY"

Response

  • callstring
    The call id.
  • statusstring
    Where the call is. A transcript grows while the call runs.
  • turnsobject[]
    In order.
    Properties
    • at_msinteger
      Milliseconds from the start of the call.
    • speakerstring
      agent, rep, phone_tree, person (a biller who took the call over or was rung in), operator (a note sent to the agent, never said on the call) or event (a key pressed, the hold, the rep joining, a hang-up).
    • textstring
  • recording_urlstring
    Signed link to the recording.
curl -X GET https://api.daybookhealthcare.com/v1/calls/{id}/transcript \
  -H "Authorization: Bearer $DAYBOOK_API_KEY"
Response 200
{
  "call": "call_01JBX8M4Q2T7",
  "status": "completed",
  "turns": [
    {
      "at_ms": 0,
      "speaker": "event",
      "text": "Dialing Bayline Health Plan, (800) 555-0142"
    },
    {
      "at_ms": 4200,
      "speaker": "phone_tree",
      "text": "Thank you for calling Bayline provider services. For claims, press 2."
    },
    {
      "at_ms": 6100,
      "speaker": "event",
      "text": "Pressed 2"
    },
    {
      "at_ms": 61000,
      "speaker": "event",
      "text": "On hold"
    },
    {
      "at_ms": 1473000,
      "speaker": "rep",
      "text": "Provider services, this is Dana."
    },
    {
      "at_ms": 1476500,
      "speaker": "agent",
      "text": "Hi Dana, I am calling for Lantern Creek Family Medicine about claim A-10442-1, date of service September 14."
    },
    {
      "at_ms": 1512000,
      "speaker": "rep",
      "text": "That claim denied on October 2, CO-197, no precertification on file."
    },
    {
      "at_ms": 1515000,
      "speaker": "operator",
      "text": "Ask whether a retro authorization would be accepted."
    },
    {
      "at_ms": 1530000,
      "speaker": "agent",
      "text": "Would a retro authorization be accepted, and may I have a reference number for this call?"
    },
    {
      "at_ms": 1552000,
      "speaker": "rep",
      "text": "Yes, within 60 days of the denial. Reference BHP-4471-0092."
    }
  ],
  "recording_url": null
}