POST
/
autosummary
/
v1
/
structured-data
curl --request POST \
  --url https://api.sandbox.asapp.com/autosummary/v1/structured-data \
  --header 'Content-Type: application/json' \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>' \
  --data '{
  "conversationId": "01GCS2XA9446BCQANJF2SXXVA0",
  "agentExternalId": "agent-111"
}'
{
  "conversationId": "01GCS2XA9447BCQANJF2SXXVA0",
  "id": "0083d936-ff70-49fc-ac19-74f1246d8b27",
  "structuredDataMetrics": [
    {
      "id": "q_abc_123",
      "name": "Issue Resolved",
      "value": "Yes"
    },
    {
      "id": "q_xyz_123",
      "name": "Issue Escalated",
      "value": "No"
    },
    {
      "id": "q_abc_124",
      "name": "Sales Made",
      "value": "No"
    },
    {
      "id": "e_abc_123",
      "name": "Account Number",
      "value": 8999246118
    }
  ]
}

Authorizations

asapp-api-id
string
header
required
asapp-api-secret
string
header
required

Body

application/json

Response

200
application/json

Successfully generated structured data.

The response is of type object.