Catalogue›Create a skill category
Create a skill category
Creates a skill category for the current business. Categories group skills (e.g. "Plumbing", "Electrical"). Names must be unique within a business.
Arguments
Idempotency-Keystringheaderoptionnel
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.
iconstringbodyoptionnel
Icon slug for the dashboard's catalog tree. Optional.
namestringbodyrequis
Category name (required), e.g. a trade: Plumbing, Electrical, HVAC.
POST/v1/skill-categories
curl -X POST "https://api.crisphive.com/v1/skill-categories" \ -H "Authorization: Bearer chsk_test_4eC8xQ9mZ2pL7Ka0rT" \ -H "Content-Type: application/json" \ -d '{ "icon": "wrench", "name": "Plumbing" }'
Corps de la requête
{
"icon": ,
"name":
}
Bearer