Skip to content
Navigation

Create draft

POST
https://api.sureshake.com/v2/filings

Request body JSON required

  • entityId
    string
    required
    format: uuid
  • schemaType
    income_statement
    or
    balance_sheet
    or
    cash_flow_statement
    or
    statement_of_financial_condition
    or
    accounts_receivable_aging
    or
    accounts_payable_aging
    +5 more
    required
  • reportingPeriodId
    string
    required
    format: uuid
  • content
    map of
    unknown
    required

Returns

201

Default Response

JSON
  • data
    object
    required
    • id
      string
      required
      format: uuid
    • entityId
      string
      required
      format: uuid
    • schemaType
      income_statement
      or
      balance_sheet
      or
      cash_flow_statement
      or
      statement_of_financial_condition
      or
      accounts_receivable_aging
      or
      accounts_payable_aging
      +5 more
      required
    • schemaVersion
      string
      required
    • reportingPeriodId
      string
      required
      format: uuid
    • status
      draft
      or
      submitted
      or
      verified
      or
      amended
      required
    • content
      map of
      unknown
      required
    • contentHash
      string
      or null
      required
    • chainHash
      string
      or null
      required
    • previousFilingId
      string
      or null
      required
      format: uuid
    • idempotencyKey
      string
      or null
      required
    • verificationTier
      L0
      or
      L1
      or
      L2
      required
    • verificationMeta
      map of
      unknown
      or null
      required
    • createdBy
      string
      required
    • createdAt
      string
      required
      format: date-time
    • updatedAt
      string
      required
      format: date-time
    • submittedAt
      string
      or null
      required
      format: date-time
  • meta
    optional
    object
    • timestamp
      string
      required
      format: date-time

400

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

401

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

403

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

404

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

409

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

422

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

500

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

503

Default Response
JSON
  • error
    object
    required
    • code
      string
      required

      Machine-readable error code (e.g., NOT_FOUND)

    • message
      string
      required

      Human-readable error message

    • details
      optional
      unknown

      Optional structured error details

    • traceId
      optional
      string

      Unique ID for log correlation

Type to search…

↑↓ navigate↵ selectEsc close