FILING_ID to the ID returned when you
created the filing; use the same ID for {filingId} in the HTTP examples below.
The response IDs in this guide are illustrative. Send your bearer credential
on Effective API requests and Content-Type: application/json for JSON request bodies.
Upload a document
Prepare every document as a fresh upload into the destination managed filing, including forms, rates, rules, supporting documents, redlines and related attachments. For documents already in the filing catalog or another record, retrieve the authorized original bytes and upload them using the flow below. Use the new file IDs returned by upload completion when creating filing items and attachments; do not attach the source file IDs directly. Keep a mapping from each source document to its uploaded copy. Request an upload URL for your filing. Replace12345 with the file’s actual byte count
(wc -c < form.pdf prints it):
uploadUrl, method: "PUT", headers, uploadToken,
fileName, and expiresAt. Keep the token until completion. Each request prepares
one new file. Existing files are preserved; duplicate filenames receive a suffix.
Example 200 response (URL and token abbreviated):
UPLOAD_URL to the returned uploadUrl and send the raw bytes:
form.pdf as the request body, without JSON or multipart encoding.
Send your Effective bearer credential only to Effective API calls, not to the
upload URL. After the PUT succeeds, set UPLOAD_TOKEN to the initialization response’s
uploadToken and confirm the upload:
200 response identifies the saved file:
id and name for
schedule assignment below. Repeat the same flow for every primary document and
related attachment. Uploading a document and assigning its schedule are separate
steps. When resuming preparation of this filing, reuse its completed uploads and
saved IDs; fresh copies are required per destination filing, not per retry or review.
See Upload a filing document and
Confirm a filing document upload
for the request and response schemas.
Complete or recover an upload
- Complete within one hour, using the same user and filing that requested the URL.
- If the completion response is lost, send the same token again before expiry. Completion revalidates the stored bytes. If the uploaded version is already saved, completion returns it without resetting indexing. If you repeated the PUT, completion processes the new content and refreshes indexing.
- If completions overlap, one can return
409because another completion changed the file. Retry the same token after the other request finishes. - A
409before a successful PUT means the bytes may not be available yet. Finish the PUT and retry completion. A read-only filing also returns409. - A
400 invalid_requestcan mean the token was altered, expired, or belongs to a different user or filing. - A
400 invalid_upload_contentmeans the stored byte count differs fromsizeBytesor the declared PDF contains invalid bytes. Correct the file details or content and start a new upload. Retrying completion alone will not fix the content. - File access is checked again at completion. Losing edit access prevents completion or recovery.
- If initialization fails without returning a token, start again. Each initialization prepares a new upload.
Add a filing item
For supporting documents, follow requirement lookup and assignment below to place each document in its applicable requirement section. The example here adds a form and its redline. Upload bothform.pdf and redline.pdf using the steps above first. Replace the document IDs
below with their completion responses: the form’s id is the primary artifactId, and the
redline’s id and name belong in attachments.
See Attach a document to a working filing for all item fields.
id as artifactId and name as artifactName. Use the
saved filename from completion: the upload may rename redline.pdf to redline (1).pdf when a file with that name exists.
Example 201 response after uploading both files:
id as {itemId} for updates. artifactId is the document ID;
id is the filing item ID. Omit attachments when there are no related documents.
Omit both schedule fields for an unscheduled document. Every item requires a
document, even when unscheduled. Use context for notes about that document, or
filing comments for a standalone note.
scheduleSeqNo is a positive position within the selected schedule, not a page
number. A position cannot be occupied by another item in the same filing and schedule.
Creating an item only references its file; it does not upload or copy the bytes.
Use the completed upload’s file ID for the primary document and each attachment.
The server checks access to every attached file. Working attachments
follow the uploaded file’s current content when artifactVersionId is null; this does not
mean the file is missing. A non-null value identifies a pinned file version.
Recorded submissions retain their captured versions.
Find supporting requirements and assign documents
SettingscheduleType: "supporting_document" selects the supporting-document
schedule. To place the document in a named requirement section, also set
supportingRequirement. Without that assignment, it appears in Other supporting
documents. A filename, formTitle, or context does not assign a requirement.
Look up the applicable requirements using the existing filing’s state, TOI,
sub-TOI and filing type. Set any missing classification fields on the filing first:
GET /api/v2/insurance/managed-filings/requirements with state, toiCode,
subToiCode and filingType.
Both use environment=beta by default, matching the workspace’s labeled reference
dataset. Pass environment=production only to request production reference data;
there is no fallback between environments. Effective chooses the active source
for the state. You do not select a catalog or send a catalog ID.
The response includes items, nextCursor, the matched context, and source
with its environment, capture date and coverage. Follow nextCursor using the same
query parameters until null. If the source changes between pages, restart the
lookup after a 409 response. Missing source coverage returns 404. Empty results
are not confirmation that no requirements apply.
Match each supporting document to a requirement using its name and full instructions.
Use the requirement’s id and the returned classification to read those instructions:
Set REQUIREMENT_ID to an ID from lookup. Replace the example classification
below with the returned context and source.environment:
id as supportingRequirement.requirementId and
source.environment as supportingRequirement.environment. Leave a document in
Other supporting documents when no applicable requirement matches it; do not
choose an unrelated requirement just to place it in a named section.
After uploading the document, assign it when creating its item. The IDs below are
illustrative; replace the file ID and requirement ID with your returned values:
supportingRequirement contains the matched
requirement ID, canonical name and environment. The document now belongs to that
requirement section. Read the item again to check the saved assignment before
running filing checks.
Illustrative, abbreviated 201 response:
ITEM_ID to its item ID and PATCH just the assignment; no re-upload is needed:
supportingRequirement on PATCH to preserve
its assignment, or send null to move it to Other supporting documents. Item
reads return the saved requirement ID, name and environment. The environment is null for
older assignments that did not record it. Moving an item to another schedule clears
the supporting requirement.
The server checks applicability and supplies the canonical requirement name. A
needs_confirmation result means SERFF’s imported filing-type information conflicts;
assignment does not resolve that uncertainty or establish compliance. Later source
imports do not silently change saved assignments. Use a fresh lookup and explicitly
reassign if the filing classification or applicable instructions have changed.
Request confidential treatment
Setconfidential: true on an item for its primary document, or on an entry in
attachments for that related document. Each flag applies only within this
filing. The default is false, including for existing documents without a flag.
This records a request for confidential treatment in SERFF; it does not change
who can access the document in Effective or indicate regulator approval.
confidential on PATCH to preserve the primary document’s value. Send
false to clear it; null is not accepted. Changing the document or its version
preserves the flag on this filing item.
When replacing attachments, include the desired confidential value for each
entry. An omitted flag in that replacement list means false; it does not inherit
the previous entry’s value. Omitting the entire attachments field preserves the
list and its flags. Recorded submissions retain the values captured when recorded.
Fill schedule details
Create and update accept the same schedule metadata used by the app. List, create and update responses return these fields. Unset details appear asnull.
These fields are optional while preparing a filing. The app expects
number, title, edition, type and action for a complete form item. Rate/rule items
need an exhibit name (
formNumber) and action. Replacements and withdrawals also
need previousForms. Supporting documents use context for their description.
Saving an item does not certify completeness or validate state-specific requirements.
For example, update the declarations form above to replace a previously filed edition:
null to clear a field; empty
or whitespace-only strings are rejected. Text inputs are trimmed. Changing the
schedule, document or action does not automatically clear other metadata. For
example, when changing an action to new, send previousForms: null if the old
reference should be removed. No separate form-catalog record is required.
List filing items
200 response after marking the primary document confidential and updating
the schedule details above (other items omitted and cursor abbreviated):
nextCursor as cursor with the same filing and limit until null.
Item cursors do not expire. URL-encode the cursor value:
Update or remove an item
Update an item:artifactId. Send both schedule
fields as null to remove an assignment, or both values to assign a position.
A successful PATCH returns 200 with the full updated item, in the same shape as
the create response. Updating an item does not change retained submission contents.
Add or remove related attachments
attachments replaces the entire related-document list; it does not append.
To add a second attachment, read the current item:
200 response is the full item in the same shape as the create response.
Send every attachment you want to retain, including its artifactId,
artifactName, and confidential value, followed by the new attachment. Do not
copy response-only fields such as artifactVersionId or artifactVersionNumber
into the request.
This example retains the redline’s confidential: false value from the response
above and adds a confidential explanation. If the existing attachment is
confidential, retain true instead; omitting its flag would clear it.
attachments preserves the list. Removing a reference does not delete
its file. These writes are last-write-wins: a stale list can overwrite another
editor’s attachment changes.
Remove an item
Remove an item:204, retains file bytes, and rejects removal when dependencies
require the item. A repeated delete returns 404.
Add requests are not idempotent. After a lost response, inspect the item list
before retrying. Updates use last-write-wins semantics; read current values
before editing. These calls neither stage nor submit to SERFF.
Next, run filing checks.
See error recovery for failed requests.