Document Sections (Bundles)
Document Section Upload Status
Changed onReceive the upload status of the document and sections by their upload_id.
Requesting document section upload status is useful to ensure a document section upload is in the expected state before calling additional API methods.
In response, you receive an array with sections_uuid. You can receive information about each section using the Document Section Info endpoint.
"section_uuids": [
"H8T8CJofGY6JwTsWsPuDEF",
"8MwLaU4SaZywqLiDk26mDF"
]
Available Document Section Upload Statuses
The following is a complete list of all possible document statuses returned:
| Document Status | Status Description |
|---|---|
| document_sections_upload.UPLOADED | The document section upload process has just been created. It is in processing and will be in document_sections_upload.PROCESSED state momentarily. |
| document_sections_upload.PROCESSED | The document sections upload is processed and the sections are already created in the document. All aspects of the document sections can be edited in this state. |
| document_sections_upload.ERROR | Document section upload procces has been failed. For more information check error details in the response. |
get/public/v1/documents/{document_id}/sections/uploads/{upload_id}
Request
- Base URLhttps://api.pandadoc.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://app.pandadoc.com/oauth2/authorizeToken URLhttps://api.pandadoc.com/oauth2/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
document_idstring required
Document ID.
upload_idstring required
Upload ID.
Response
OK
Example response
{
"uuid": "7kqXgjFejB2toXxjcC5jfZ",
"document_uuid": "cKbJ7uay3cEGtsKuGPwYGX",
"status": "document_sections_upload.PROCESSED",
"name": "API Sample Section from PandaDoc Template",
"sections_uuids": [
"cKbJ7uay3cEGtsKuGPwYGX",
"jzjCfYgKQYm2u9ctwN6io4"
],
"date_created": "2021-10-08T11:06:32.337395Z",
"date_modified": "2021-10-08T11:06:32.337395Z"
}Changes
- info
endpoint added
- info