Server-sent events when the workspace changes
GET
/broker/submissions/{submission_id}/application-workspace/changes
const url = 'https://api.hedgespecialty.com/api/v1/broker/submissions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/application-workspace/changes';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.hedgespecialty.com/api/v1/broker/submissions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/application-workspace/changes \ --header 'Authorization: Bearer <token>'text/event-stream. Emits connected once with the current change
cursor, then changed (data {submission_id, cursor}) whenever any
application or the shared facts change (a checkpoint, a mapping
pass, a carrier result), with comment heartbeats between. The
stream lives at most 60 seconds or until the token expires -
reconnect to keep listening. On changed, re-read the workspace.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”submission_id
required
string format: uuid
Responses
Section titled “Responses”Event stream
Media typetext/event-stream
string
Submission not found (or not your brokerage’s)