Create Document Section

POST {{base_url}}/public/v1/documents/{{document_id}}/sections/uploads

Add Document Section to Document (create Bundle)

Find more https://developers.pandadoc.com/reference/create-bundle

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}, {"name"=>"data", "value"=>"{  \n    \"name\": \"Sample Section\",\n    \"recipients\": [\n        {\n            \"email\": \"{{recipient_email}}\",\n            \"first_name\": \"Josh\",\n            \"last_name\": \"Ron\",\n            \"role\": \"user\"\n        }\n    ],\n    \"parse_form_fields\": false\n}", "datatype"=>"string"}]

RESPONSES

status: Created

{"uuid":"zVvGT25YWqxLViiBE11111","name":"New section from template","document_uuid":"syEBwU8haxbZw11111pPBF","status":"document_sections_upload.UPLOADED","date_created":"2024-08-07T09:28:43.786605Z","date_modified":"2024-08-07T09:28:43.786605Z","info_message":"You need to poll the Document Sections Upload Status method until the status will be changed to document_sections_upload.PROCESSED"}