POST
/
autocompose
/
v1
/
responses
/
customs
/
folder
curl --request POST \
  --url https://api.sandbox.asapp.com/autocompose/v1/responses/customs/folder \
  --header 'Content-Type: application/json' \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>' \
  --data '{
  "id": "123",
  "parentFolderId": "456",
  "name": "folder name"
}'
{
  "id": "123",
  "parentFolderId": "456",
  "name": "folder name"
}

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 folder to be added

A folder of responses

name
string
required

the name of the folder

parentFolderId
string

The ID of the parent folder.

Response

200
application/json
Acknowledgement that the folder was successfully added

A folder of responses

name
string
required

the name of the folder

id
string

The ID of the folder

parentFolderId
string

The ID of the parent folder.