es
Catálogo›Create a skill

Create a skill

Creates a skill under the given category. New skills are active by default. Skill names must be unique within their category.

Argumentos

idstringpathobligatorio
Skill category ID (UUID)
Idempotency-Keystringheaderopcional
Unique key making retries safe: a repeat send with the same key replays the original response (header Idempotent-Replayed: true) instead of re-running the operation. Reusing a key with a different body returns 422 IDEMPOTENCY_KEY_REUSE.
descriptionstringbodyopcional
What the skill covers. Optional.
namestringbodyobligatorio
Skill name (required). The matching engine hard-filters technicians on skills when a booking carries skill_ids.
POST/v1/skill-categories/{id}/skills
curl -X POST "https://api.crisphive.com/v1/skill-categories/9b2f6c3e-1a4d-4f0a-8f2e-7c5d1b3a9e01/skills" \
  -H "Authorization: Bearer chsk_test_4eC8xQ9mZ2pL7Ka0rT" \
  -H "Content-Type: application/json" \
  -d '{
  "description": "Repair of household water pipes",
  "name": "Pipe Repair"
}'
Cuerpo de la solicitud
{
"description": ,
"name":
}

Respuestas