Public M2M API — verticals
Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.
Authentication and permissions · Requests, results and recovery
/api/v1/verticals/{module}
Exported methods: GET, POST, PATCH, DELETE
GET
- Resource scopes:
verticals:read - Path parameters:
module - Query parameters:
entity,limit,page,subpath - Shared pagination: Yes
- Explicit response statuses:
400 - Explicit error codes:
invalid_module - Response keys observed across outcomes:
availableEntities,data,entity,module,pagination,result,subpath,tenantId
POST
- Resource scopes:
verticals:write - Path parameters:
module - Query parameters:
subpath - Explicit response statuses:
201,400,409,422 - Explicit error codes:
invalid_module,invalid_request,onboarding_incomplete,unsupported_vertical_entity,vertical_action_failed - Response keys observed across outcomes:
entity,module,record,result,subpath
Send a JSON object. With subpath (body or query), the handler forwards data if present, otherwise the whole object, to the internal module route; that route defines its payload. Without subpath, entity selects the delegate (default: first mapped entity), and data supplies the record fields; if absent, remaining non-control fields are used. The model controls allowed fields. An unavailable delegate returns 422; successful creation is not guaranteed.
PATCH
- Resource scopes:
verticals:write - Path parameters:
module - Query parameters:
id,subpath - Explicit response statuses:
400,409,422 - Explicit error codes:
invalid_module,invalid_request,onboarding_incomplete,unsupported_vertical_entity,vertical_update_failed - Response keys observed across outcomes:
entity,id,module,result,subpath,updated
Send a JSON object. With subpath (body or query), the handler forwards data if present, otherwise the whole object, to the internal module route; that route defines its payload. Without subpath, entity selects the delegate (default: first mapped entity), and data supplies the record fields; if absent, remaining non-control fields are used. The model controls allowed fields. An unavailable delegate returns 422; successful update is not guaranteed. For direct PATCH, supply id in the body or query; inspect the returned update count, which may be zero.
DELETE
- Resource scopes:
verticals:write - Path parameters:
module - Query parameters:
entity,id,subpath - Explicit response statuses:
400,409,422 - Explicit error codes:
invalid_module,invalid_request,onboarding_incomplete,unsupported_vertical_entity,vertical_delete_failed - Response keys observed across outcomes:
deleted,entity,id,module,result,subpath
Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.
/api/v1/verticals/{module}/{action}
Exported methods: GET, POST, PATCH, DELETE
GET
- Resource scopes:
verticals:read - Path parameters:
module,action - Query parameters:
limit,page - Shared pagination: Yes
- Explicit response statuses:
400 - Explicit error codes:
invalid_module - Response keys observed across outcomes:
action,data,module,pagination,result
POST
- Resource scopes:
verticals:write - Path parameters:
module,action - Explicit response statuses:
201,400,409 - Explicit error codes:
invalid_module,onboarding_incomplete - Response keys observed across outcomes:
action,module,record,result
The action path selects a mapped entity or an internal route. For POST, a mapped delegate first attempts creation using object data when present, otherwise the body; if creation fails or no delegate exists, the entire body is forwarded to the internal route. PATCH always forwards the entire body. Fields and validation depend on the selected model or internal route; a successful write is not guaranteed.
JSON properties observed: data.
These names are read by the handler; they are not a complete schema or a promise that every property applies to every branch. Check the validation messages and operation result.
PATCH
- Resource scopes:
verticals:write - Path parameters:
module,action - Explicit response statuses:
400,409 - Explicit error codes:
invalid_module,onboarding_incomplete - Response keys observed across outcomes:
action,module,result
The action path selects a mapped entity or an internal route. For POST, a mapped delegate first attempts creation using object data when present, otherwise the body; if creation fails or no delegate exists, the entire body is forwarded to the internal route. PATCH always forwards the entire body. Fields and validation depend on the selected model or internal route; a successful write is not guaranteed.
DELETE
- Resource scopes:
verticals:write - Path parameters:
module,action - Explicit response statuses:
400,409 - Explicit error codes:
invalid_module,onboarding_incomplete - Response keys observed across outcomes:
action,module,result
Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.