Skip to main content
PUT
/
autocompose
/
v1
/
autopilot
/
greetings
/
status
Update autopilot greetings status
curl --request PUT \
  --url https://api.sandbox.asapp.com/autocompose/v1/autopilot/greetings/status \
  --header 'Content-Type: application/json' \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>' \
  --data '{
  "enabled": true
}'
{
  "enabled": true
}

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 updated autopilot greetings status

Autopilot status for an agent

enabled
boolean
required

If true, autopilot is enabled

Response

Acknowledgement that the greetings status was successfully updated

Autopilot status for an agent

enabled
boolean
required

If true, autopilot is enabled

I