POST
/
autocompose
/
v1
/
responses
/
customs
/
response
curl --request POST \
  --url https://api.sandbox.asapp.com/autocompose/v1/responses/customs/response \
  --header 'Content-Type: application/json' \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>' \
  --data '{
  "text": "fold text",
  "title": "folder title",
  "folderId": "123"
}'
{
  "id": "<string>",
  "text": "<string>",
  "title": "<string>",
  "folderId": "<string>",
  "metadata": [
    {
      "name": "<string>",
      "allowedValues": [
        "<string>"
      ]
    }
  ]
}

Authorizations

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

Query Parameters

agentId
string
required

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

Body

application/json
The custom response to be added

The body is of type object.

Response

200
application/json
Acknowledgement that the response was successfully added

The response is of type object.