One carrier application from the workspace
const url = 'https://api.hedgespecialty.com/api/v1/broker/submissions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/applications/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';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/applications/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Authorization: Bearer <token>'One carrier application, presented exactly as the
application-workspace read presents it, so a client can refresh a
single application after a changed event. session_id is the
ApplicationSection.application_id. 404 with code: read_workspace
means read the whole workspace instead: the application is a Hedge
or legacy application, its session was withdrawn, or it is outside
the selected quoting scope. Read scope is enough.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”The application
object
One carrier application (a carrier-API quote session) inside the
workspace: its schema, current answers, per-field ownership, and
readiness. application_id is the session_id used by the
checkpoint / request-quote / employers-classes paths. Revisions
(answer_revision, fact_revision, selection_revision) and
schema_fingerprint are the optimistic-concurrency tokens every
command must echo.
object
The normalized question schema (fields, required_field_keys, program identity); the same questions GET /broker/programs/{program_id}/application-schema projects.
object
Current answers keyed by question key.
object
object
object
Provenance of a fact or answer.
object
Whether Hedge’s fact-to-answer mapping is idle or still running for this application.
Required question keys still unanswered.
object
needs_information until every required visible question is answered, then ready_for_quote.
Lifecycle of the last quote request for this application (draft until one is made).
The carrier outcome of the last request
object
Example
{ "application": { "owner_host": "hedge", "route": "hedge", "ownership": { "additionalProperty": { "kind": "explicit", "source": { "channel": "broker_portal", "evidence": "explicit" } } } }}Submission not found (or not your brokerage’s), or code: read_workspace