Legal
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
GET |
List all legal documents
Required API key scopes
legal_document:readQuery parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /organizations /:organization_id /legal_documentsExample response
Status 200
RESPONSE
Create legal documents
Required API key scopes
legal_document:writeRequest parameters
- document_type
- company_namestring
- company_addressstring
- representative_emailstring
Response
Example request
POST /api /organizations /:organization_id /legal_documentsExample response
Status 201
RESPONSE
Retrieve legal documents
Required API key scopes
legal_document:readPath parameters
- idstring
Response
Example request
GET /api /organizations /:organization_id /legal_documents /:idExample response
Status 200
RESPONSE
Retrieve legal documents 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.
Path parameters
- idstring
Example request
GET /api /organizations /:organization_id /legal_documents /:id /download