Skip to main content
POST
Request or add an office's appointment or broker agreement with a market

Authorizations

Authorization
string
header
required

The org's platform API key.

Headers

Nexio-Act-As
string

The member the read is made for (a WorkOS user id). Unset keeps the org-wide posture the key alone grants.

Nexio-Act-As-Email
string

The acting member's verified email, lowercased. Ignored without Nexio-Act-As.

Nexio-Consumer
string

The calling application (workbench).

Nexio-Consumer-Build
string

The calling application's build.

Nexio-Consumer-Vocabulary
string

The access vocabulary hash the calling build was generated against.

Nexio-Request-Id
string

A caller-chosen request id, echoed in the Nexio-Request-Id response header.

Nexio-Timeout
string

The caller's remaining budget for this request, in whole milliseconds (1 to 10 digits, greater than zero), relative to receipt. The engine stops work at the shorter of this and the route's own budget, and answers 504 request_timeout when it expires. A value above the route budget is capped to it; a malformed value is ignored.

Idempotency-Key
string
required

One key per write: a repeated key answers the first.

Required string length: 8 - 128

Body

application/json
kind
enum<string>
required

request (ask for it), on_file (the office already holds it) or withdrawn (take back your own earlier row named by withdraws).

Available options:
request,
on_file,
withdrawn
agency_code
string

For an on_file appointment: the agency code the carrier issued. Never sent for a broker agreement.

Maximum string length: 40
agreement
enum<string>

appointment with a carrier, or broker_agreement with a wholesaler or MGA. Required for request and on_file.

Available options:
appointment,
broker_agreement
document_id
string

An uploaded letter or signed agreement: a document id of the org's uploaded documents.

Maximum string length: 200
market
string

The market, as GET /records/carrier-contacts takes it (a Markets directory market_ref, or an identity that resolves to one). Required for request and on_file.

Maximum string length: 600
note
string

For request: what the person wants the carrier team to know.

Maximum string length: 1000
office_agency_code
string

The office the row is for: one of the seat's offices (required when it has several), or for a seat with Markets edit (the carrier team, an administrator) any office of the org.

Maximum string length: 40
scope
enum<string>

For an on_file appointment: the office, or every office of the agency (a seat with Markets edit only). Never sent for a request or a broker agreement; a broker agreement on file from a seat with Markets edit is the agency's, from any other seat its office's.

Available options:
office,
agency
withdraws
string<uuid>

For withdrawn: the id of an earlier request or on_file row, your own or, for a seat with Markets edit, anyone's.

Response

OK

created
boolean
required

False when the Idempotency-Key already named this write: data is the first row.

data
object
required
request_id
string
required
source
object
required
unreachable
object[] | null
required
warnings
object[] | null
required