PATCH
Request · Response · Guide: Extract fields
Send at least one of integrationExportStatus and tagIds. integrationExportMessages is only accepted together with integrationExportStatus.tagIds replaces the file’s tags with the given tag ids from GET /v1/tags (at most 50; repeated ids are collapsed). Send [] to remove every tag, or leave the field out to keep the current tags. An unknown or deleted tag id returns 422 and changes nothing. Changing the tags of a deleted file returns 404.Use this endpoint for pull-based integrations where integrated systems need to report back:
  • Whether a file was successfully exported to the integrated system
  • Any error messages or status information from the integrated system
The export status and message will be visible in the file list UI.

Authorizations

x-api-key
string
header
required

API key for authentication

Headers

Idempotency-Key
string

Optional opaque key (max 255 chars, UUIDv4 recommended) making this request idempotent for 24h: a retry with the same key and body replays the original response with Idempotent-Replayed: true.

Path Parameters

fileId
string
required

Body

application/json

Export status update payload

The body is of type string.

Response

File updated successfully

fileId
string
required

The file ID

tags
object[]
required

Tags on the file after the update. Deleted tags are left out; empty array when none.

exportInfo
object

Export info object matching DocumentExportInfoEntity