Documents

Upload Account Correspondence

Record correspondence from a FILE rather than a JSON body.

The route for a forwarded .eml or an exported thread: the file's text becomes the content, and the record is created in the same call.

This handler is async def but takes the SYNC session, so it is awaited directly rather than going through the threadpool helper.

post/accounts/{account_id}/correspondence/upload

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/accounts/{account_id}/correspondence/upload
  • Auth: HTTP bearer

Path parameters

account_idstring required

The account.

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Response

Successful Response

dataDocumentPayload required

An open envelope for one document, folder or questionnaire.

Open on purpose: a Library document carries extraction metadata, a questionnaire carries per-provider processing detail, and a generated deal document carries structured_data and highlights whose shape is the generator's rather than this contract's. Pinning those would silently drop whatever the app learned to return that this file had not caught up on.

Changes

No recorded changes to this operation across all 2 revisions of this API.