Getting all documents made from the account linked to this API is made through the 'accountDocuments' query. This can utilise the optional pagination and a status filters or call a specific ID if required.
query getAccountDocuments {
accountDocuments(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
}
}