sumsub-create-level
Installation
SKILL.md
Sumsub — Create Level
Builds an ApplicantLevel JSON payload from a compact spec, POSTs (or PATCHes) it to the Sumsub API, and reports the resulting name / id.
Endpoints
| Method | Path | When |
|---|---|---|
POST |
/resources/applicants/-/levels |
Create a new level. Body must NOT include id or key — server assigns them. |
PATCH |
/resources/applicants/-/levels |
Update an existing level (by id in body). A top-level field missing from the body keeps its stored value; a field you send replaces the stored one whole (see step 6). |
GET |
/resources/applicants/-/levels/{id} |
Read one level. Use this to verify what landed (tenant gates may silently drop fields) or to resolve name from a known id. |
GET |
/resources/applicants/-/levels |
List all levels (list_levels.sh; use to reuse existing levels before creating duplicates). |
Body: ApplicantLevel. Returns the persisted level with id, createdAt, audit trails.