PUT
/
autocompose
/
v1
/
autopilot
/
greetings
curl --request PUT \
  --url https://api.sandbox.asapp.com/autocompose/v1/autopilot/greetings \
  --header 'Content-Type: application/json' \
  --header 'asapp-api-id: <api-key>' \
  --header 'asapp-api-secret: <api-key>' \
  --data '{
  "greetingGeneric": "Welcome!",
  "greetingCustomerName": "Welcome {NAME}!"
}'
{
  "greetingGeneric": "Welcome!",
  "greetingCustomerName": "Welcome {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 updated autopilot greetings

Autopilot greetings for an agent

Response

200
application/json

Acknowledgement that the greetings were successfully updated

Autopilot greetings for an agent