ja
カタログ›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.

引数

Idempotency-Keystringheader任意
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.
iconstringbody任意
Icon slug for the dashboard's catalog tree. Optional.
namestringbody必須
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"
}'
リクエストボディ
{
"icon": ,
"name":
}

レスポンス