Unreleased documentation. These pages follow the main branch and can change before the next release. For supported guidance, use v0.43.0.
Receive a Casework review completion event
const url = 'https://example.com/v1/review-completions';const options = { method: 'POST', headers: { 'Registry-Recipient-Binding': 'example', 'Idempotency-Key': '2489E9AD-2EE2-8E00-8EC9-32D5F69181C0', Authorization: 'Bearer <token>', 'Content-Type': 'application/json' }, body: '{"completedAt":"2026-04-15T12:00:00Z","eventId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","requestId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","resultId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","type":"review.completed"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/review-completions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: 2489E9AD-2EE2-8E00-8EC9-32D5F69181C0' \ --header 'Registry-Recipient-Binding: example' \ --data '{ "completedAt": "2026-04-15T12:00:00Z", "eventId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "requestId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "resultId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "type": "review.completed" }'Casework’s completion destination for a review producer connection reports that a review result exists. The event only wakes the step waiting on that request, which then reads the result with the connection’s producer credential. Every authentic, well-formed event answers 204 whether or not a step waits on its request.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”The recipient binding configured for the connection’s completion destination.
The event identifier.
Request Bodyrequired
Section titled “Request Bodyrequired”object
Responses
Section titled “Responses”Authentic completion accepted
A problem: request.invalid.
object
Example
{ "code": "request.invalid", "type": "https://id.registrystack.org/problems/registry-coordinator/admission/held"}A problem: authentication.refused.
object
Example
{ "code": "authentication.refused", "type": "https://id.registrystack.org/problems/registry-coordinator/admission/held"}Headers
Section titled “Headers”Bearer authentication challenge for missing or refused credentials.
A problem: request.method-not-allowed.
object
Example
{ "code": "request.method-not-allowed", "type": "https://id.registrystack.org/problems/registry-coordinator/admission/held"}A problem: request.body-too-large.
object
Example
{ "code": "request.body-too-large", "type": "https://id.registrystack.org/problems/registry-coordinator/admission/held"}A problem: request.unsupported-media-type.
object
Example
{ "code": "request.unsupported-media-type", "type": "https://id.registrystack.org/problems/registry-coordinator/admission/held"}A problem: service.unavailable.
object
Example
{ "code": "service.unavailable", "type": "https://id.registrystack.org/problems/registry-coordinator/admission/held"}Headers
Section titled “Headers”Whole seconds to wait before trying again.