XISUITEDokumentation

Document Exports

7 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1

List export history for the organization#

GET/document-exportsToken

Parameter

NameOrtTypBeschreibung
template_idQuerystring–
statusQuerystring

Werte: pendingrunningcompletedfailed

sourceQuerystring

Werte: manualautomation

pageQuerynumber–
pageSizeQuerynumber–

Antworten

  • 200Export rows ({ data, count }).
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/document-exports" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Get one export history row#

GET/document-exports/{id}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 200Export row.
  • 404Export not found.
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/document-exports/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Get a short-lived signed download URL#

GET/document-exports/{id}/downloadToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 200Signed URL info ({ signedUrl, fileName, mimeType }).
  • 404Export or file not found.
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/document-exports/{id}/download" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Export a document template (pdf / docx / html)#

POST/document-templates/{id}/exportToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Request-Bodyapplication/jsonExportDocumentDto

NameTypBeschreibung
formatPflichtstring

Werte: pdfdocxhtml

scopePflichtobject

Item scope — exactly one of { savedFilterId } | { ids } | { query, source_space_ids } (validated in the service).

deliverystring

Werte: downloadstore

Standard: "download"

fileNamestring

File name without extension (sanitized server-side).

Antworten

  • 200delivery 'download' (default): the file as an attachment; delivery 'store': { record, download } JSON.
  • 400Invalid scope or template.
  • 404Template not found.
  • 413Scope exceeds the item cap.
  • 429Too many exports in flight.
  • 501PDF rendering unavailable.
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/document-templates/{id}/export" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"format":"pdf","scope":{}}'

Push a document template into a new wiki page#

POST/document-templates/{templateId}/export-to-wikiToken

Parameter

NameOrtTypBeschreibung
templateIdPflichtPfadstring–

Request-Bodyapplication/jsonPushDocumentToWikiDto

NameTypBeschreibung
space_idPflichtstring

Target wiki space

scopePflichtobject

Item scope — same shape as ExportDocumentDto.scope.

parent_idstring

Optional parent wiki page UUID

titlestring

Defaults to the template name

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/document-templates/{templateId}/export-to-wiki" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"space_id":"…","scope":{}}'

Re-push a document template onto an existing wiki page#

PUT/document-templates/{templateId}/export-to-wiki/{pageId}Token

Parameter

NameOrtTypBeschreibung
templateIdPflichtPfadstring–
pageIdPflichtPfadstring–

Request-Bodyapplication/jsonUpdateWikiPushDto

NameTypBeschreibung
space_idPflichtstring

Space the target page belongs to

scopePflichtobject–
confirmedboolean

Confirms overwriting a page that was hand-edited since the last push, or that has open comments.

Antworten

  • 200OK
Beispiel (cURL)
curl -X PUT "https://xapi.ambertech.cloud/api/v1/document-templates/{templateId}/export-to-wiki/{pageId}" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"space_id":"…","scope":{}}'

List prior wiki pushes for a template, scoped to one space#

GET/document-templates/{templateId}/wiki-pushesToken

Parameter

NameOrtTypBeschreibung
templateIdPflichtPfadstring–
spaceIdPflichtQuerystring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/document-templates/{templateId}/wiki-pushes" \
  -H "Authorization: Bearer $XISUITE_TOKEN"
Stand: 25. Oktober 2026© 2026 XISUITE · AmberTech Solutions