PUT
/
api
/
v1
/
skills
/
{id}
curl --request PUT \
  --url https://api.elemente.ai/api/v1/skills/{id} \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>",
  "definition": "<string>",
  "initialMessage": "<string>"
}'
{
  "id": "24f639fc-d319-45f3-8f57-106b88087c80",
  "name": "Inbound Call",
  "definition": "Inform the user about his recent refund, stating that we are currently in the process of facilitating the refund",
  "isInbound": "true",
  "initialMessage": "Hi, thank you for reaching out to Happy Customer. This is {{aiName}}. How may I help you today"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the skill

Body

application/json

Input data for updating the skill

The body is of type object.

Response

200
application/json

The updated skill

The response is of type object.