Note Documents

postNoteDocuments

POST
/noteDocuments

Create a note document, representing a file related to a specific note record.

Authorization

APIKEY<token>

In: header

Header Parameters

token?string

A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.

request-token?string

A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.

Request Body

application/json

Create Note Document Request

Create Note Document Request

note*string

The identifier of the Note that owns this note documents resource.

type?noteDocumentType

The desired type to take on the referenced Note.

  • jpg - JPG Image File Type
  • jpeg - JPEG Image File Type
  • gif - GIF Image File Type
  • png - PNG Image File Type
  • pdf - PDF Document File Type
  • tif - TIF Tag Image File Type
  • tiff - TIFF Tag Image File Type
  • txt - TXT Document File Type
  • xml - XML Document File Type
  • asc - American Standard Code II File Type
  • rtf - Rich Text Document File Type
  • csv - Comma Separated Values Table File Type
  • xls - Microsoft Excel File Type
  • doc - Microsoft Word File Type
  • odt - OpenDocument Text File Type
  • ods - OpenDocument Spreadsheet File Type
  • json - JSON Document File Type
  • soap - SOAP Document File Type

Value in

  • "jpg"
  • "jpeg"
  • "gif"
  • "png"
  • "pdf"
  • "tif"
  • "tiff"
  • "txt"
  • "xml"
  • "asc"
  • "rtf"
  • "csv"
  • "xls"
  • "doc"
  • "odt"
  • "ods"
  • "json"
  • "soap"
name?string

The name of the document on the referenced NoteDocument.

custom?string

The identifier of the Custom that relates to this notes resource.

description?string

A brief description of the document.

status?noteDocumentStatus

The current status of the document upload.

  • created - The database record has been created.
  • processed - The document upload for this record was processed successfully.
  • failed - The document upload for this record could not be processed.

Value in

  • "created"
  • "processed"
  • "failed"
documentType?noteDocumentsDocumentType

The purpose of the document upload.

  • general - General use for unspecified type.
  • personalId - An identification document for a person.
  • companyId - An identification document for a company.
  • voidCheck - A voided check for bank account verification.
  • bankStatement - A bank statement.
  • bankLetter - A bank letter for verification.
  • contract - A contract for goods or services.
  • taxDocument - A tax document for verification.

Value in

  • "general"
  • "personalId"
  • "companyId"
  • "voidCheck"
  • "bankStatement"
  • "bankLetter"
  • "contract"
  • "taxDocument"
inactive?inactive

Whether this resource is marked as inactive.

  • 0 - Active
  • 1 - Inactive

Value in

  • 0
  • 1
frozen?frozen

Whether this resource is marked as frozen.

  • 0 - Not Frozen
  • 1 - Frozen

Value in

  • 0
  • 1

Response Body

application/json

application/json

curl -X POST "https://example.com/noteDocuments" \  -H "Content-Type: application/json" \  -d '{    "note": "t1_not_67eef7a7a830eb17b0aefd5",    "type": "png",    "name": "Boy1.png",    "custom": "identifier",    "description": "doc description1",    "status": "processed",    "documentType": "voidCheck",    "inactive": 0,    "frozen": 0  }'
{  "response": {    "data": [      {        "id": "t1_ntd_67eef7a7ac0627e1fce0000",        "created": "2025-04-03 17:03:35.7120",        "modified": "2025-04-03 17:03:36.4841",        "creator": "t1_log_6310f9e4d21c262e2f1404c",        "modifier": "t1_log_6310f9e4d21c262e2f1404c",        "note": "t1_not_67eef7a7a830eb17b0aefd5",        "custom": "",        "type": "png",        "documentType": "voidCheck",        "name": "Boy1.png",        "description": "doc description1",        "status": "processed",        "inactive": 0,        "frozen": 0      }    ],    "details": {      "requestId": 1,      "totals": [],      "page": {        "current": 1,        "last": 1,        "hasMore": false      }    },    "errors": []  }}