cURL
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" }
Add a single folder for an agent
Identifier of the agent, data format is expected to be UUID
The folder to be added
A folder of responses
Acknowledgement that the folder was successfully added
Was this page helpful?