Getting all documents is made through the 'Documents' query. This can utilise the optional pagination and a status filters or call a specific ID if required.

Query ParametersField TypeExample
Document IDInteger1
Pagination - Limit/PageDictionary{limit:10, page: 0}
StatusStringcreating
query getDocuments {
  documents(pagination:{limit:10, page: 0}, status:creating) {
    id
    name
    status
    owner {
      id
      name
      firstname
      surname
      mobile
      email
      teamId
      team
      companyId
      company
    }
    recipients {
      id
      email
      firstName
      lastName
      phone
      address
      company
      accountNumber
    }
    notes {
      id
      category
      type
      actionedBy
      read
      message
      dateTime
      additionalData
    }
    revisions {
      id
      name
      owner {
        id
        name
        firstname
        surname
        mobile
        email
        teamId
        team
        companyId
        company
      }
      notes {
        id
        category
        type
        actionedBy
        read
        message
        dateTime
        additionalData
      }
      customField1
      customField2
      customField3
      customField4
      customField5
      customField6
      customField7
      customField8
      customField9
      customField10
      forecastConfidence
      forecastMonth
      totalMarkup
      totalMargin
      totalMinimumCost
      totalProductCost
      pdfDocument
      formSubmittions
    }
    customField1
    customField2
    customField3
    customField4
    customField5
    customField6
    customField7
    customField8
    customField9
    customField10
    forecastConfidence
    forecastMonth
    totalMarkup
    totalMargin
    totalMinimumCost
    totalProductCost
    pdfDocument
    formSubmittions
  }
}