Ask a Question
Back to All

Setting a document's metadata

I'm wondering how to set metadata for a document.

The "Example metadata in a document object" section in the documentation (https://api.elis.rossum.ai/docs/#metadata) shows an example of a document with metadata, but I can't seem to figure out how to set it programmatically via the API.

I noticed that in the upload endpoint documentation, there is an example of providing "extra" information (see below), and I've tried a handful of variations to the syntax here to no avail.

curl -H 'Authorization: token db313f24f5738c8e04635e036ec8a45cdd6d6b03' \
  -F [email protected] \
  -F values='{"upload:organization_unit":"Sales"}' \