Share Public API
Public document sharing and import endpoints for viewing shared Celerp documents and downloading or importing portable document bundles.
Generated from the Celerp 2.5.0 OpenAPI schema, 21 September 2026.
GET /docs/import
Import Shared Document
Import a document another Celerp shared, from its share link. The document arrives as a received document for review.
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
link | query | -- | string, optional | The share link the document was sent with. |
src | query | -- | string, optional | Public URL of the sending Celerp installation for a shared-document import. |
token | query | -- | string, optional | Opaque public token identifying the shared or payment resource. |
Responses
| Status | Description | Body |
|---|---|---|
200 | Redirects to the new received document. | -- |
422 | The request failed validation. The response lists each invalid field and why. | HTTPValidationError |
Example
curl -X GET http://localhost:8000/docs/import \
-H "Authorization: Bearer $TOKEN"POST /docs/import-bundle
Import Document Bundle
Import a portable Celerp document bundle supplied as request data or an uploaded file.
Responses
| Status | Description | Body |
|---|---|---|
200 | Redirects to the new received document. | -- |
Example
curl -X POST http://localhost:8000/docs/import-bundle \
-H "Authorization: Bearer $TOKEN"