Documents
[Beta] Document Content
Returns the document content for the specified document. Use query parameter format to select the content format.
get/public/beta/documents/{document_id}/content
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
The unique identifier of the document.
Query parameters
format'plaintext' | 'markdown' required
Format selector for document content (query format and JSON format on 200).
Document content representation to return.
Response
Document content is available. JSON object with format and content (see schema). Includes ETag and Vary: format.
Changes
No recorded changes to this operation across all 2 revisions of this API.