POST
/
autosummary
/
v1
/
free-text-summaries
curl --request POST \
  --url https://api.sandbox.asapp.com/autosummary/v1/free-text-summaries \
  --header 'Content-Type: application/json' \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>' \
  --data '{
  "conversationId": "01GCS2AA9447BCQANJF2SXXVA0",
  "agentExternalId": "agent-111"
}'
{
  "conversationId": "<string>",
  "summaryId": "<string>",
  "summaryText": "<string>"
}

Authorizations

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

Body

application/json
conversationId
string
required

The identifier of the conversation from ASAPP's system.

agentExternalId
string

Your unique identifier for the agent.

Response

200
application/json
Successfully generated free text summary.
conversationId
string

The unique identifier of the conversation for which the summary was generated.

summaryId
string

A unique identifier for this specific summary. • Each summary request generates a new summary with a new summaryId, even for the same conversation. • The entire summary content is regenerated with each request. • Use this ID when providing feedback on the summary.

summaryText
string

The generated free-text summary of the conversation.