Get a contract assignment
Returns one contract assignment under a contract your organization is a party to, with its access override when it has one. An assignment under any other contract is answered as one that does not exist.
Path Parameters
A contract assignment’s ID, a TypeID with the prefix contractassignment.
Match pattern:^contractassignment_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:contractassignment_01h455vb4pex5vsknk084sn02q
Response
application/json
Response
The contract assignment.
ContractAssignment
One contract assignment: the list’s fields, the states set on the assignment itself and its access override.
A contract assignment’s ID, a TypeID with the prefix contractassignment.
Match pattern:^contractassignment_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:contractassignment_01h455vb4pex5vsknk084sn02q
A contract’s ID, a TypeID with the prefix contract.
Match pattern:^contract_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:contract_01h455vb4pex5vsknk084sn02q
The ID of a product or bucket of products, a TypeID with the prefix product.
Match pattern:^product_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:product_01h455vb4pex5vsknk084sn02q
individual when the producer is a person, named by personId; firm when it is an organization, named by firmOrganizationId.
Allowed values:individualfirm
Example:individual
A person’s ID, a TypeID with the prefix person.
Match pattern:^person_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:person_01h455vb4pex5vsknk084sn02q
An organization’s ID: a TypeID with the prefix org. It never changes, and is the same ID for the organization across the AgentSync API.
Match pattern:^org_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:org_01h455vb4pex5vsknk084sn02q
The writing number set on this assignment. Absent when none is set on it.
Example:W-1001
Derived from the two statuses beside it: terminated once the assignment is terminated; else the carrier’s pending or suspended; else active when both say active; else inactive.
Allowed values:activeinactivependingsuspendedterminated
Example:active
The carrier’s status for the assignment.
Allowed values:activeinactivependingsuspended
Example:active
The distribution organization’s status for the assignment.
Allowed values:activeinactive
Example:active
A contract assignment’s ID, a TypeID with the prefix contractassignment.
Match pattern:^contractassignment_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:contractassignment_01h455vb4pex5vsknk084sn02q
The TypeID of the change request that created the assignment. Absent on one created directly.
Match pattern:^changerequest_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:changerequest_01h455vb4pex5vsknk084sn02q
When the assignment took effect.
Example:2026-02-01T00:00:00Z
When the assignment was terminated. Absent until it is.
Example:2026-06-30T00:00:00Z
The access override as authored on this assignment. Null when it has none.
Example:{"version":3,"entries":[{"id":"accessoverrideentry_01h455vb4pex5vsknk084sn02q","productId":"product_01h455vb4pex5vsknk084sn02q","states":["CO","TX"],"effectiveOn":"2026-03-01","expiresOn":null,"commissionLevelIds":null,"annualizationIds":null}]}
Show Child Parameters
A two-letter US state code.
Example:CO
Authentication
Path Parameters
List access overrides
Lists the access overrides your organization authored on the contract assignments under its contracts, ordered by contract then assignment. Each item names its assignment, contract and writing number, with the override’s entries. Narrow the list with contract_id; send the same contract_id with every page of one listing: a page_token sent with a different one is a 400.
Query Parameters
A contract’s ID, a TypeID with the prefix contract.
Match pattern:^contract_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:contract_01h455vb4pex5vsknk084sn02q
Items per page. Defaults to 50; a value above 200 is clamped to 200. A non-numeric or non-positive value is a 400.
Default:50
>= 1
Example:100
Opaque token from a previous response’s page.nextToken. Send it with the same filters as the request that returned it: it is signed for them. A token that is malformed, altered, sent with other filters, or longer than 1024 bytes is a 400.
Example:eyJrIjoiZXhhbXBsZSJ9
Response
application/json
Response
One page of the access overrides your organization authored.
A page of access overrides.
One access override your organization authored, with the contract assignment it is on.
Example:{"contractAssignmentId":"contractassignment_01h455vb4pex5vsknk084sn02q","contractId":"contract_01h455vb4pex5vsknk084sn02q","effectiveWritingNumber":"W-1001","version":3,"entries":[{"id":"accessoverrideentry_01h455vb4pex5vsknk084sn02q","productId":"product_01h455vb4pex5vsknk084sn02q","states":["CO","TX"],"effectiveOn":"2026-03-01","expiresOn":null,"commissionLevelIds":null,"annualizationIds":null}]}
Show Child Parameters
Pagination metadata of a collection response. nextToken is absent on the last page; pass it back as the page_token query parameter to continue.
Example:{"nextToken":"eyJrIjoiZXhhbXBsZSJ9"}
Show Child Parameters
Authentication
Query Parameters
List the producers your organization may see, or look one up by NPN
Without npn, returns one page of the producers your organization may see: the persons holding a contract assignment that is not terminated under a contract your organization is a party to, then the persons holding an active producer role at your organization. A terminated contract assignment does not make a producer visible; pending, active, suspended and inactive ones do. Each producer appears once in a walk over unchanging data; a producer who gains or loses a contract assignment while you page can be missed or listed twice. A page holds at most 100 producers, whatever page_size asks for above that, and can hold fewer, or none, with a next page still to come: continue while page.nextToken is present. A page token is signed for your organization and the status filter it was handed out with, and is a 400 with any other.
With npn, returns the producer holding that National Producer Number, as a list of at most one, when your organization may see them. An NPN no person holds gets the same answer as a producer your organization may not see: a 404, or the 422 of a roster too large to search, so the answer never tells whether the NPN is held. npn cannot be combined with status or page_token.
Responses are sent with Cache-Control: no-store.
Query Parameters
Look up the producer holding this National Producer Number. Not one to ten digits, or zero, is a 400.
Match pattern:^[0-9]{1,10}$
Example:12345678
Only the producers with this status. Cannot be combined with npn.
Allowed values:activedeactivated
Example:active
Items per page. Defaults to 50; a value above 200 is clamped to 200. A non-numeric or non-positive value is a 400.
Default:50
>= 1
Example:100
Opaque token from a previous response’s page.nextToken. Send it with the same filters as the request that returned it: it is signed for them. A token that is malformed, altered, sent with other filters, or longer than 1024 bytes is a 400.
Example:eyJrIjoiZXhhbXBsZSJ9
Response
application/json
Response
One page of the producers your organization may see, or, with npn, the producer holding it.
A page of producers.
A producer your organization may see: a person holding a contract assignment that is not terminated under one of its contracts, or an active producer role at it. The names are null when the person has no profile.
Example:{"id":"person_01h455vb4pex5vsknk084sn02q","npn":12345678,"status":"active","firstName":"Jane","lastName":"Smith","preferredFirstName":null}
Show Child Parameters
Pagination metadata of a collection response. nextToken is absent on the last page; pass it back as the page_token query parameter to continue.
Example:{"nextToken":"eyJrIjoiZXhhbXBsZSJ9"}
Show Child Parameters
Authentication
Query Parameters
Get a producer
Returns one producer your organization may see, as for the lookup by NPN, with their profile and every contract assignment that is not terminated they hold under your organization’s contracts. The SSN is served as its last four digits only. A platform service failing fails the whole call with a 503: a partial producer is never returned. A producer with more than 500 contract assignments that are not terminated under your organization’s contracts is a 422 assignments_over_cap; page through GET /v1/contract-assignments?person_id= for them instead, skipping those whose status is terminated. That list also serves the producer’s terminated contract assignments, which this detail leaves out. Responses are sent with Cache-Control: no-store.
Path Parameters
A person’s ID, a TypeID with the prefix person.
Match pattern:^person_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:person_01h455vb4pex5vsknk084sn02q
Response
application/json
Response
The producer.
Producer
One producer: the summary’s fields, the rest of the profile, and every contract assignment that is not terminated the producer holds under your organization’s contracts. A profile field not on file is null.
A person’s ID, a TypeID with the prefix person.
Match pattern:^person_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:person_01h455vb4pex5vsknk084sn02q
The producer’s National Producer Number. Null when none is on file.
Example:12345678
deactivated once the person has been deactivated, else active.
Allowed values:activedeactivated
Example:active
The producer’s legal first name.
Example:Jane
The producer’s legal last name.
Example:Smith
The first name the producer goes by, when it differs.
Example:Janie
The producer’s middle name.
Example:Quincy
The producer’s name suffix.
Example:JR
When the person was deactivated. Null while active.
Example:2026-06-30T00:00:00Z
The producer’s date of birth.
Example:1990-05-15
The two-letter code of the producer’s resident state.
Example:CO
The producer’s primary email address.
Example:jane.smith@example.com
The last four digits of the producer’s SSN. The rest of the number is never served.
Match pattern:^[0-9]{4}$
Example:1234
One of a producer’s addresses.
Example:{"type":"physical","addressLine1":"123 Main St","addressLine2":null,"city":"Denver","county":"Denver","state":"CO","zip":"80202","country":"US","preferred":true}
Show Child Parameters
One of a producer’s phone numbers.
Example:{"type":"cell","number":"3035551234","extension":null,"preferred":true}
Show Child Parameters
A contract assignment under a contract your organization is a party to: one producer, a person or a firm, placed on one of the contract’s products.
Example:{"id":"contractassignment_01h455vb4pex5vsknk084sn02q","contractId":"contract_01h455vb4pex5vsknk084sn02q","productId":"product_01h455vb4pex5vsknk084sn02q","producerType":"individual","personId":"person_01h455vb4pex5vsknk084sn02q","writingNumber":"W-1001","status":"active","carrierStatus":"active","partnerStatus":"active","effectiveAt":"2026-02-01T00:00:00Z"}
Show Child Parameters
Authentication
Path Parameters
List tasks
Lists the tasks your organization reaches: those raised by a requirement set your organization imposed, and those waiting in one of its queues. Narrow the list with producer_id, contract_assignment_id and state, alone or together. Send the same filters with every page of one listing. With contract_assignment_id a page can hold fewer items than page_size, or none, and still carry a nextToken; keep reading until the page has no nextToken.
Query Parameters
A person’s ID, a TypeID with the prefix person.
Match pattern:^person_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:person_01h455vb4pex5vsknk084sn02q
A contract assignment’s ID, a TypeID with the prefix contractassignment.
Match pattern:^contractassignment_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:contractassignment_01h455vb4pex5vsknk084sn02q
A task state.
Allowed values:not_startedin_progressreturnedcompletedapprovedrejectedskippedclosed
Example:in_progress
Items per page. Defaults to 50; a value above 200 is clamped to 200. A non-numeric or non-positive value is a 400.
Default:50
>= 1
Example:100
Opaque token from a previous response’s page.nextToken. Send it with the same filters as the request that returned it: it is signed for them. A token that is malformed, altered, sent with other filters, or longer than 1024 bytes is a 400.
Example:eyJrIjoiZXhhbXBsZSJ9
Response
application/json
Response
One page of the tasks your organization reaches.
A page of tasks.
A task your organization reaches: one raised by a requirement set your organization imposed, or one waiting in one of its queues. Who the work is about is subjectPersonId for a person, or subjectOrganizationId for an organization such as a firm; one of the two is present.
Example:{"id":"task_01h455vb4pex5vsknk084sn02q","name":"Background questions","taskType":"work","state":"in_progress","subjectPersonId":"person_01h455vb4pex5vsknk084sn02q","required":true,"locked":false,"owner":{"kind":"person","personId":"person_01h455vb4pex5vsknk084sn02q"},"createdAt":"2026-03-02T09:30:00Z","updatedAt":"2026-03-03T14:00:00Z"}
Show Child Parameters
Pagination metadata of a collection response. nextToken is absent on the last page; pass it back as the page_token query parameter to continue.
Example:{"nextToken":"eyJrIjoiZXhhbXBsZSJ9"}