POST
/
silo
/
v1
/
spool
curl --request POST \
  --url https://api.invopop.com/silo/v1/spool \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "data": "aSDinaTvuI8gbWludGxpZnk=",
  "name": "invoice.xml",
  "type": "application/xml"
}'
{
  "key": "<string>"
}

The Silo Spool service can be used by Applications as a temporary file store. This can be useful for example when processing documents that need additional processing before before added to a Silo Entry as an attachment.

Additioanlly, the Silo Spool will be used in the Transform Jobs API when uploading files as data URIs.

Authorizations

Authorization
string
header
required

Use the Bearer scheme with a valid JWT token to authenticate requests. Example: Authorization: Bearer <token>

Body

application/json

Response

200 - application/json

OK

The response is of type object.