Skip to content

Extract from Call

GET
/calls/[id]/extract

Extract information from a call log by its ID

Authorization

X-Struct-API-Keyheader
string
required

The API Key you generated using the Struct Dashboard.

Request Body

application/json
questions
string[]
required

The questions to extract from the call. The questions will be extracted and returned as key-value pairs in the response.

Example Response

{
"What is the name of the caller?": "Michael Bluth",
"Where does the caller live?": "Newport Beach",
"Who is the caller's father?": "George Bluth",
}