Skip to content

Get Call by ID

GET
/calls/[id]

Retrieve a call log by its ID

Authorization

X-Struct-API-Keyheader
string
required

The API Key you generated using the Struct Dashboard.

Example Response

{
"id": "DPhV2XI7n126n8",
"callBlueprintId": "[BLUEPRINT ID]",
"firstName": "Buster",
"lastName": "Bluth",
"phoneNumber": "+447123456789",
"answeredBy": "human",
"callDuration": "230",
"createdAt": "2024-04-17T15:01:39.000Z",
"projectId": "3sS4k9tMzl2o8r",
"transferNumber": null,
"firstMessage": "Hi there, my name is Michael, how can I help you today?",
"goodbyeMessage": "Thank you so much for your time. Have a great day!",
"prompt": "Your name is Michael, you are CEO of the B... [REST OF PROMPT]",
"llmHistory": "[{\"role\":\"assistant\",\"content\":\"Hello\"},{\"role\":\"user\",\"content\":\"Hi there!\"}]",
"status": "completed"
}