RinghouseAPI reference
Get started

Receptionists

Update a skill

Change a skill, or switch it on or off. The next caller meets the change.

PATCH/v1/receptionists/{receptionist_id}/skills/{skill_id}

Needs the receptionist:write scope.

Path parameters

receptionist_idstringrequired
Receptionist id
skill_idstringrequired
Skill id

Body parameters

descriptionstring
enabledboolean
instructionsstring
Replaces the whole text. An action is kept while its `@[action:<id>]` token stays in it.
namestring

Returns

The skill, as saved. A failed call answers with an error instead.

idstring
actionsSkillActionResource[]
descriptionstring
A note for the team; the receptionist never reads it.
enabledboolean
Only an enabled skill is in force on a call.
instructionsstring
namestring
curl -X PATCH https://api.ringhouse.ai/v1/receptionists/{receptionist_id}/skills/{skill_id} \
  -H "Authorization: Bearer rh_live_xxxxxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "description": "<string>",
    "enabled": "<boolean>",
    "instructions": "<string>",
    "name": "<string>"
  }'
{
  "id": "8c1d4e7a-5b2f-4a90-9e1c-3f7d2b6a1c08",
  "actions": [
    {
      "id": "e41b09c2-77d3-4c5e-b0a8-9d2f61c4e3a7",
      "label": "…",
      "tool": "…"
    }
  ],
  "description": "…",
  "enabled": false,
  "instructions": "…",
  "name": "Missed calls → Slack"
}
Was this page helpful?