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.

get
https://api.sandbox.agentsync.io/platform/v1/producers

Query Parameters

npnstring

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

statusstring

Only the producers with this status. Cannot be combined with npn.

Allowed values:activedeactivated

Example:active

page_sizeinteger

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

page_tokenstring

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

One page of the producers your organization may see, or, with npn, the producer holding it.

A page of producers.

itemsarray[object]required

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
pageobjectrequired

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
get/v1/producers
 
application/json

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.

get
https://api.sandbox.agentsync.io/platform/v1/producers/{id}

Path Parameters

idstringrequired

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

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.

idstringrequired

A person’s ID, a TypeID with the prefix person.

Match pattern:^person_[0-7][0-9a-hjkmnp-tv-z]{25}$

Example:person_01h455vb4pex5vsknk084sn02q

npninteger | null(int64)required

The producer’s National Producer Number. Null when none is on file.

Example:12345678

statusstringrequired

deactivated once the person has been deactivated, else active.

Allowed values:activedeactivated

Example:active

firstNamestring | nullrequired

The producer’s legal first name.

Example:Jane

lastNamestring | nullrequired

The producer’s legal last name.

Example:Smith

preferredFirstNamestring | nullrequired

The first name the producer goes by, when it differs.

Example:Janie

middleNamestring | nullrequired

The producer’s middle name.

Example:Quincy

suffixstring | nullrequired

The producer’s name suffix.

Example:JR

deactivatedAtstring | null(date-time)required

When the person was deactivated. Null while active.

Example:2026-06-30T00:00:00Z

dateOfBirthstring | null(date)required

The producer’s date of birth.

Example:1990-05-15

residentStatestring | nullrequired

The two-letter code of the producer’s resident state.

Example:CO

emailstring | nullrequired

The producer’s primary email address.

Example:jane.smith@example.com

ssnLastFourstring | nullrequired

The last four digits of the producer’s SSN. The rest of the number is never served.

Match pattern:^[0-9]{4}$

Example:1234

addressesarray[object]required

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
phonesarray[object]required

One of a producer’s phone numbers.

Example:{"type":"cell","number":"3035551234","extension":null,"preferred":true}

Show Child Parameters
contractAssignmentsarray[object]required

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
get/v1/producers/{id}
 
application/json

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.

get
https://api.sandbox.agentsync.io/platform/v1/tasks

Query Parameters

producer_idstring

A person’s ID, a TypeID with the prefix person.

Match pattern:^person_[0-7][0-9a-hjkmnp-tv-z]{25}$

Example:person_01h455vb4pex5vsknk084sn02q

contract_assignment_idstring

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

statearray[string]

A task state.

Allowed values:not_startedin_progressreturnedcompletedapprovedrejectedskippedclosed

Example:in_progress

page_sizeinteger

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

page_tokenstring

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

One page of the tasks your organization reaches.

A page of tasks.

itemsarray[object]required

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
pageobjectrequired

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
get/v1/tasks
 
application/json

Get a task

Returns one task your organization reaches, with its slots and the latest answer at each. A sensitive position’s answer is always masked. A task your organization does not reach is answered as one that does not exist.

get
https://api.sandbox.agentsync.io/platform/v1/tasks/{id}

Path Parameters

idstringrequired

A task’s ID, a TypeID with the prefix task.

Match pattern:^task_[0-7][0-9a-hjkmnp-tv-z]{25}$

Example:task_01h455vb4pex5vsknk084sn02q

Response

application/json

The task.

Task

One task: the list’s fields except the name and timestamps, the requirement set and contract assignment behind it, and its slots and answers.

idstringrequired

A task’s ID, a TypeID with the prefix task.

Match pattern:^task_[0-7][0-9a-hjkmnp-tv-z]{25}$

Example:task_01h455vb4pex5vsknk084sn02q

taskTypestringrequired

The kind of task, as on the list.

Allowed values:workapprovalreview_submitforms_signature

Example:work

statestringrequired

Where the task sits in its lifecycle.

Allowed values:not_startedin_progressreturnedcompletedapprovedrejectedskippedclosed

Example:in_progress

subjectPersonIdstring

A person’s ID, a TypeID with the prefix person.

Match pattern:^person_[0-7][0-9a-hjkmnp-tv-z]{25}$

Example:person_01h455vb4pex5vsknk084sn02q

subjectOrganizationIdstring

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

requiredbooleanrequired

Whether the task is a required member of its requirement set.

Example:true

lockedbooleanrequired

Whether the task waits on others before it can be completed.

ownerobject

Who owns a task: a named person, or a queue that a role at an organization works from. A person whom the requirement set’s rules hide from your organization is shown as the queue the task was written for instead; any other named owner is shown by personId. Absent when the task has no owner.

Example:{"kind":"queue","queue":{"organizationId":"org_01h455vb4pex5vsknk084sn02q","persona":"compliance_reviewer"}}

Show Child Parameters
requirementSetobject | nullrequired

The requirement set, at the revision, that raised the task. Null on a task raised on its own rather than by a set, and on one raised by a set another organization imposed.

Example:{"id":"requirementset_01h455vb4pex5vsknk084sn02q","revision":3}

Show Child Parameters
contractAssignmentIdstring | nullrequired

The contract assignment the change request that raised the task created, modified, or terminated; contractAssignmentRelation says which. It is the same link GET /v1/tasks?contract_assignment_id= follows, so a task naming an assignment here is one that filter returns. Null on a task raised on its own, one raised without a change request, one raised by a change request that terminates a whole contract, one raised by a set another organization imposed, and one whose change request has not been applied yet.

Match pattern:^contractassignment_[0-7][0-9a-hjkmnp-tv-z]{25}$

Example:contractassignment_01h455vb4pex5vsknk084sn02q

contractAssignmentRelationstring | nullrequired

How the change request that raised the task touched contractAssignmentId: created (it added the assignment), modified (it changed the assignment’s upline, commission level, annualization, states or writing number) or terminated (it ended the assignment). Null exactly when contractAssignmentId is. More values may be added; treat an unknown value as another relation to the same assignment.

Example:created

dependsOnarray[string]required

A task’s ID, a TypeID with the prefix task.

Match pattern:^task_[0-7][0-9a-hjkmnp-tv-z]{25}$

Example:task_01h455vb4pex5vsknk084sn02q

slotsarray[object]required

One position a task asks to be answered. A single slot is answered as a whole; a section slot is answered per member field, listed in fields.

Example:{"key":"residentState","kind":"single","required":true,"locked":false,"sensitive":false}

Show Child Parameters
submissionsarray[object]required

The latest answer at one position: slotKey, with fieldKey for a section slot’s field and entryId for a repeatable section’s entry.

Example:{"slotKey":"ssn","performer":{"kind":"person","personId":"person_01h455vb4pex5vsknk084sn02q"},"value":{"kind":"masked"}}

Show Child Parameters
get/v1/tasks/{id}
 
application/json

Get a link to a task's file

Returns a link to the file that answers one slot of a task your organization reaches, good for ten minutes. The link is presigned: anyone who holds it can download the file until expiresAt, so treat it as a secret, and don’t log, store or share it. Ask again for a new link once it expires. A link is issued only after the file’s malware scan has found it clean. A task your organization does not reach is answered as one that does not exist, and a slot whose answer the task detail masks, such as a sensitive one, is answered as one with no file.

get
https://api.sandbox.agentsync.io/platform/v1/tasks/{id}/files/{slot}

Path Parameters

idstringrequired

A task’s ID, a TypeID with the prefix task.

Match pattern:^task_[0-7][0-9a-hjkmnp-tv-z]{25}$

Example:task_01h455vb4pex5vsknk084sn02q

slotstringrequired

The slot’s key, as slots[].key on the task.

Example:errorsAndOmissionsCertificate

Response

application/json

The file and a link to it.

TaskFileLink

A file that answers one slot of a task, and a presigned link to it.

urlstring(uri)required

A presigned link to the file, good until expiresAt. Anyone who holds it can download the file, so treat it as a secret, and don’t log, store or share it.

Example:https://files.example.com/task-files/abc123?X-Amz-Signature=redacted

expiresAtstring(date-time)required

When the link stops working, ten minutes after it was issued.

Example:2026-11-10T17:10:00Z

fileobjectrequired

The file the link downloads.

Example:{"name":"license.pdf","contentType":"application/pdf","sizeBytes":48213,"sha256":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"}

Show Child Parameters
get/v1/tasks/{id}/files/{slot}
 
application/json