POST
/
autocompose
/
v1
/
responses
/
customs
/
response

Authorizations

asapp-api-id
string
headerrequired
asapp-api-secret
string
headerrequired

Query Parameters

agentId
string
required

Identifier of the agent, data format is expected to be UUID

Body

application/json
text
string
required

The text of the response

title
string
required

The title of the response

folderId
string

the ID of the folder the response belongs to (used for custom responses).

metadata
object[]

free-form metadata, in the form of a map of keys to lists of allowed values for each key, that can be added to any response. At least one of the values in the list for each key included here must match what gets sent when requesting suggestions, so that responses can be filtered appropriately.

Response

200 - application/json
id
string

The ID of this response, data format is UUID

text
string

The text of the response

title
string

The title of the response. Always non-empty for custom responses, but may be empty for other types of responses (global and organic).

folderId
string

the ID of the folder the response belongs to.

metadata
object[]

free-form metadata, in the form of a map of keys to lists of allowed values for each key, that can be added to any response. At least one of the values in the list for each key included here must match what gets sent when requesting suggestions, so that responses can be filtered appropriately.