文档办公

sumsub-create-level

sumsub/agent-skills

Create or update a Sumsub applicant level. POST `/resources/applicants/-/levels` to create new, PATCH same path to update (id in body), GET `/resources/applicants/-/levels/{id}` to read one back. TRIGGER when the user asks to "create / add / build / update / edit a Sumsub level", supplies a list of required steps for an applicant flow (identity / selfie / proof-of-residence / questionnaire / payment methods / email or phone verification / KYB / e-sign), or wants a level wired to a specific questionnaireDefId. SKIP for other Sumsub entities (questionnaires, workflows, applicants) or for one-off subsetting tweaks not covered by the compact spec (use `sumsub-api-generic` for those).

  • 1228 次安装
  • 7 星标
  • 收录于

安装命令

npx skills add https://github.com/sumsub/agent-skills --skill sumsub-create-level

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).
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 (use to reuse existing levels before creating duplicates).

Body: ApplicantLevel. Returns the persisted level with id, createdAt, audit trails.

Auth — App Token + secret (sandbox only)