Skip to navigation

Simulate a coverage verification outcome (sandbox only)

Sets a coverage’s verification status directly, simulating the outcome of the broker verification call that runs in production. Coverages are created with the default status unverified; use this endpoint to move them into any other status and exercise the corresponding API responses, coverage.updated webhooks, and compliance re-evaluation.

Sandbox only: requires a sandbox API key. A production key receives 403, so production compliance data can’t be manipulated.

The simulation produces the full webhook chain a real verification does: a coverage.updated event fires immediately, and compliance checks are re-run for every requirement this coverage satisfies — each check whose result changes emits compliance.status_changed.

Notes:

  • The transition is recorded as a coverage event, so it appears in the subcontractor activity feed exactly like a real verification.
  • Simulating expired backdates the coverage’s expirationDate if it is missing or in the future, keeping the record consistent.

Requires scope compliance:write.

Authentication

AuthorizationBearer

Session JWT or API key (ak_...)

Path parameters

coverageIdstringRequiredformat: "uuid"

Request

This endpoint expects an object.
statusenumRequired

The status to set. needs_review and superseded cannot be simulated.

Allowed values:
expirationDatedatetimeOptional
Optionally set a new expiration date, e.g. to simulate a policy renewal when reinstating an expired coverage.

Response

The updated coverage
dataobjectOptional
metaobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error