Public M2M API — proposals
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/proposals
Exported methods: GET, POST
GET
- Resource scopes:
proposals:read - Query parameters:
docType,limit,page,search,status - Shared pagination: Yes
- Response keys observed across outcomes:
tenantId
POST
- Resource scopes:
proposals:write - Explicit response statuses:
201,400,404,409,422 - Explicit error codes:
invalid_request,not_found,onboarding_incomplete,proposal_failed - Response keys observed across outcomes:
proposal
Send a JSON object. Observed branch requirements: When create, provide subject and clientName strings; When update/accept/reject/send, provide id and applicable action. Other fields and downstream service validation depend on the branch; verify the result.
JSON properties observed: action, clientName, id, status, subject.
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.
/api/v1/proposals/{id}
Exported methods: GET, PATCH, DELETE
GET
- Resource scopes:
proposals:read - Path parameters:
id - Explicit response statuses:
404 - Explicit error codes:
not_found - Response keys observed across outcomes:
proposal
PATCH
- Resource scopes:
proposals:write - Path parameters:
id - Explicit response statuses:
422 - Explicit error codes:
invalid_request - Response keys observed across outcomes:
proposal
Validated request fields
DELETE
- Resource scopes:
proposals:write - Path parameters:
id - Response keys observed across outcomes:
deleted,id
Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.