provider organizationslegal_documents GET /api/organizations/{organization_id}/legal_documents/{id}/download/
@utdk/posthog /api/organizations/{organization_id}/legal_documents/{id}/download/
legal_documents_download_retrieve
Short-lived redirect to the signed PDF in object storage. 404 while the envelope is still out for signature (or if the upload hasn't completed yet). The underlying presigned URL expires in ~60s; clients should hit this endpoint each time they want to view the PDF rather than caching.
id path required
string
organization_id path required
ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.
string

Try it

Authentication
Configure credentials for PostHog API
legalDocumentsDownloadRetrieve
GET/api/organizations/{organization_id}/legal_documents/{id}/download/
Short-lived redirect to the signed PDF in object storage. 404 while the envelope is still out for signature (or if the upload hasn't completed yet). The underlying presigned URL expires in ~60s; clients should hit this endpoint each time they want to view the PDF rather than caching.

Parameters

required
required

ID of the organization you're trying to access. To find the ID of the organization, make a call to /api/organizations/.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import posthog from '@utdk/posthog';

await posthog.legalDocumentsDownloadRetrieve()