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.
Path Parameters
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
Response
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.
A task’s ID, a TypeID with the prefix task.
Match pattern:^task_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:task_01h455vb4pex5vsknk084sn02q
The kind of task, as on the list.
Allowed values:workapprovalreview_submitforms_signature
Example:work
Where the task sits in its lifecycle.
Allowed values:not_startedin_progressreturnedcompletedapprovedrejectedskippedclosed
Example:in_progress
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
Whether the task is a required member of its requirement set.
Example:true
Whether the task waits on others before it can be completed.
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
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
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
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
A task’s ID, a TypeID with the prefix task.
Match pattern:^task_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:task_01h455vb4pex5vsknk084sn02q
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
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
Authentication
Path Parameters
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.
Path Parameters
A task’s ID, a TypeID with the prefix task.
Match pattern:^task_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:task_01h455vb4pex5vsknk084sn02q
The slot’s key, as slots[].key on the task.
Example:errorsAndOmissionsCertificate
Response
application/json
Response
The file and a link to it.
TaskFileLink
A file that answers one slot of a task, and a presigned link to it.
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
When the link stops working, ten minutes after it was issued.
Example:2026-11-10T17:10:00Z
The file the link downloads.
Example:{"name":"license.pdf","contentType":"application/pdf","sizeBytes":48213,"sha256":"9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08"}
Show Child Parameters
Authentication
Path Parameters
List requirement sets
Lists the requirement sets your organization authored that have been published (active) or archived, in the order the requirements service returns them. Draft sets are not served. Archived sets stay listed because tasks may reference them. Drafts are left out of each page after it is read, so a page can hold fewer items than page_size, or none, and still carry a nextToken: keep paging until nextToken is absent. Each item is the set without its members; read one set for those. Narrow the list with category; send the same category with every page of one listing.
Query Parameters
How a requirement set is filed.
Allowed values:producer_onboardingproducer_maintenanceproducer_offboardingpartner_onboardingpartner_maintenancepartner_offboardinghierarchy_maintenance
Example:producer_onboarding
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 your organization’s requirement sets.
A page of requirement sets.
A requirement set your organization authored: a bundle of task definitions that raises a task from each of its members when it is applied to a producer. Only published (active) and archived sets are served, never drafts. The list serves it without its members.
Example:{"id":"requirementset_01h455vb4pex5vsknk084sn02q","name":"Producer onboarding - CA","description":"Onboarding for new California producers","category":"producer_onboarding","status":"active","revision":3,"publishedAt":"2026-02-01T12:00:00Z","createdAt":"2026-01-15T17:04:05Z","updatedAt":"2026-03-02T09:30: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"}
Show Child Parameters
Authentication
Query Parameters
Get a requirement set
Returns one requirement set your organization authored, with its members, when it has been published (active) or archived. Draft sets are not served: a draft is answered as a set that does not exist. Archived sets stay readable because tasks may reference them. It serves the set at its current revision only: earlier revisions are not kept. A task names the set and the revision that raised it, so compare that revision with this one’s to know whether the set has changed since. A set of any other organization is answered as one that does not exist.
Path Parameters
A requirement set’s ID, a TypeID with the prefix requirementset.
Match pattern:^requirementset_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:requirementset_01h455vb4pex5vsknk084sn02q
Response
application/json
Response
The requirement set at its current revision.
RequirementSet
One requirement set at its current revision: the list’s fields and the set’s members. Earlier revisions are not served, and neither are draft sets: only sets that have been published (active) or archived.
A requirement set’s ID, a TypeID with the prefix requirementset.
Match pattern:^requirementset_[0-7][0-9a-hjkmnp-tv-z]{25}$
Example:requirementset_01h455vb4pex5vsknk084sn02q
The set’s name, unique within your organization.
Example:Producer onboarding - CA
Free text describing the set. Absent when it has none.
Example:Onboarding for new California producers
How a requirement set is filed.
Allowed values:producer_onboardingproducer_maintenanceproducer_offboardingpartner_onboardingpartner_maintenancepartner_offboardinghierarchy_maintenance
Example:producer_onboarding
Where the set sits in its lifecycle: active is published; archived is retired, and stays readable because tasks may reference it. Draft sets, never published, are not served.
Allowed values:activearchived
Example:active
A counter that advances whenever the set’s composition, or a setting a task raised from it carries, changes; a rename does not advance it. A task names the set and the revision that raised it, so compare the two to know whether the set has changed since.
Example:3
When the set was first published. Absent when it never has been; archiving does not clear it.
Example:2026-02-01T12:00:00Z
When the set was archived. Absent while it is not archived.
Example:2026-06-30T00:00:00Z
When the set was created.
Example:2026-01-15T17:04:05Z
When the set last changed.
Example:2026-03-02T09:30:00Z
One member of a requirement set: the task definition a task is raised from when the set is applied, and whether that task is required.
Example:{"id":"requirement_01h455vb4pex5vsknk084sn02q","taskType":"work","required":true,"taskDefinitionId":"taskdefinition_01h455vb4pex5vsknk084sn02q"}
Show Child Parameters
Authentication
Path Parameters
List organizations
Lists the organizations your organization may see: your own organization, the counterparties on its active associations, and the organizations it controls through a live relationship. Your organization is always the one your token’s service account belongs to; nothing in the request can name another. Your own organization comes first, then the counterparties, then the organizations it controls, and relationship says which each is. An organization that is both a counterparty and one your organization controls is listed once for each. A counterparty AgentSync holds no organization record for is left out, so an organization ID you see elsewhere, such as a contract’s counterpartyOrganizationId, may not appear here. A page may hold fewer items than page_size, or none, while more remain: only page.nextToken says whether there are more pages.
Query Parameters
Items per page. Defaults to 50; a value above 50 is clamped to 50, since each organization on a page is read on its own. A non-numeric or non-positive value is a 400.
Default:50
>= 1
Example:25
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 organizations your organization may see.
OrganizationList
A page of the organizations your organization may see, one item per relationship an organization holds to yours: an organization that is both a counterparty and one yours controls appears twice, with the same id. Each item is read from the organization directory one at a time, so a page holds at most 50 items, fewer than the API-wide page size limit.
An organization your organization may see, and one way it stands to yours. An organization that stands to yours in more than one way is listed once for each, with the same id and a different relationship, so to count organizations, de-duplicate by id. Only the child item carries parentId, so items for the same organization can differ in it.
<= 50 items
Example:{"id":"org_01kq0w4h7xf1e8t4zb2m5c6d7e","type":"agency","legalName":"Acme Captive Agency","dbaNames":[],"npn":1234567,"feinLastFour":"5678","parentId":"org_01h455vb4pex5vsknk084sn02q","relationship":"child"}
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"}