Skip to main content
Complete the authentication setup. Use a write-capable user key with edit access to a managed filing. Set 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. Replace 12345 with the file’s actual byte count (wc -c < form.pdf prints it):
The server chooses the storage location and associates the document with this filing. The response gives you 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):
Use the URL and every header exactly as returned; don’t construct the URL yourself. For the example above, set UPLOAD_URL to the returned uploadUrl and send the raw bytes:
Send the bytes of 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:
The 200 response identifies the saved file:
The file now appears in the filing’s documents. Successful completion registers the uploaded content as an immutable file version. Save its 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 409 because another completion changed the file. Retry the same token after the other request finishes.
  • A 409 before a successful PUT means the bytes may not be available yet. Finish the PUT and retry completion. A read-only filing also returns 409.
  • A 400 invalid_request can mean the token was altered, expired, or belongs to a different user or filing.
  • A 400 invalid_upload_content means the stored byte count differs from sizeBytes or 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.
Both JSON requests are limited to 32 KiB; the file bytes go directly to the upload URL.

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 both form.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.
Request body:
Use the returned 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:
Save the item 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

Setting scheduleType: "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:
Before creating a filing, you can instead use 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:
Use the matched requirement’s 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:
Verify that the create response’s 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:
For an existing supporting-document item in Other supporting documents, set ITEM_ID to its item ID and PATCH just the assignment; no re-upload is needed:
Use the matched requirement ID and environment from lookup here too. Verify the returned assignment as above. Omit 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

Set confidential: 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.
Request body to mark the primary document confidential:
Omit 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 as null. 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:
Request body:
Omitted metadata stays unchanged on PATCH. Send 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

Example 200 response after marking the primary document confidential and updating the schedule details above (other items omitted and cursor abbreviated):
Pass the returned nextCursor as cursor with the same filing and limit until null. Item cursors do not expire. URL-encode the cursor value:
See List filing items. This lists schedule and unscheduled items, rather than every uploaded document. Reading an item does not itself grant permission to read its file bytes. There is currently no v2 endpoint listing every document uploaded to a managed filing. Keep the upload token and completion response. If the completion response is lost, retry completion before token expiry; after expiry, use the filing workspace Documents view to locate an uploaded-but-unassigned file. An empty item list does not mean the filing has no uploaded files.

Update or remove an item

Update an item:
Request body:
To replace a working document, upload and complete its replacement in this filing, then send the returned ID as the new 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. attachments replaces the entire related-document list; it does not append. To add a second attachment, read the current item:
The 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.
Request body:
The second document must already be uploaded into this filing and readable. To remove all related attachments, send:
Request body:
Omitting 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:
Returns 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.