List setup documents
Changed onList all setup documents. Each document includes created_at, an ISO 8601 UTC timestamp of when Check generated this document.
get/documents/setup_documents
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
companystring
Company ID
idstring[]
Filter the list to the specified IDs. For more details, check out the Bulk Get Requests guide.
Response
200
Example response
{
"next": "https://api.checkhq.com/documents/setup_documents?cursor=cD0lNUIlMjIyMDI0LTA3LTI2KzE2JTNBMTAlM0EwMy44OTY5ODclMkIwMCUzQTAwJTIyJTJDKyUyMjQwNTk4MSUyMiU1RA%3D%3D",
"results": [
{
"id": "doc_Bw5rH2tYk8NcLq3ZsV0D",
"company": "com_EkKTRETE3zl8CffWF2iW",
"document_type": "payroll_journal",
"label": "Payroll Journal",
"created_at": "2024-09-03T14:21:55.918034Z"
}
]
}Changes
- info
added the new optional
queryrequest parameterid - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info