Skip to main content
POST
/
autosummary
/
v1
/
intent
Create conversation intent
curl --request POST \
  --url https://api.sandbox.asapp.com/autosummary/v1/intent \
  --header 'Content-Type: application/json' \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>' \
  --data '
{
  "conversationId": "01GCS2AA9447BCQANJF2SXXVA0"
}
'
{
  "conversationId": "<string>",
  "intent": {
    "code": "<string>",
    "name": "<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.

Pattern: ^[A-Z0-9]+$

Response

Successfully generated intent.

conversationId
string

The id of the conversation.

intent
object

An object containing the determined intent for the conversation.