Skip to content
HALOWERK

Formatwerk

pdf attachments

Walks the EmbeddedFiles name tree, document and page /AF arrays (PDF/A-3 and ZUGFeRD/Factur-X associated files) and FileAttachment annotations of every page with pdf-lib 1.17.1 (ISO 32000-2 §7.11.4, §12.5.6.15, §14.13), de-duplicates entries that point to the same embedded stream and decodes each stream. For every file it returns name, description, declared MIME subtype, size and MD5 from /Params compared with the decoded content, creation/modification dates, SHA-256, a MIME type detected.

POST https://format.halowerk.com/v1/pdf-attachments

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
content_base64stringNoThe PDF as base64 (a data: prefix and whitespace are tolerated); at most 10 MB decoded.
urlstringNoPublic http(s) URL of the PDF (at most 10 MB). Private, local and reserved addresses are refused.
include_contentbooleanNoReturn the decoded file contents as base64.
max_content_bytesintegerNoUpper limit for the sum of returned file contents; further files are listed without content.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "content_base64": {
      "type": "string",
      "minLength": 8,
      "maxLength": 13981016,
      "description": "The PDF as base64 (a data: prefix and whitespace are tolerated); at most 10 MB decoded."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "maxLength": 2048,
      "description": "Public http(s) URL of the PDF (at most 10 MB). Private, local and reserved addresses are refused."
    },
    "include_content": {
      "type": "boolean",
      "default": true,
      "description": "Return the decoded file contents as base64."
    },
    "max_content_bytes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9000000,
      "default": 5000000,
      "description": "Upper limit for the sum of returned file contents; further files are listed without content."
    }
  }
}

Open original schema

Published input example

{
  "content_base64": "JVBERi0xLjcKJYGBgYEKCjYgMCBvYmoKPDwKL0ZpbHRlciAvRmxhdGVEZWNvZGUKL0xlbmd0aCAxMTEKPj4Kc3RyZWFtCnicK+RyCuEyUADBonQufY/UnLLUkszkRF1LcxMjMwsjUzMLBUMThZA0LiMg6cNlCFZqqGBupGBuZqAQkstlY2Jp5mpuZuZmZmlmbGZqZGBsZAzCZkYuQNrA2MTYyE4hJIsrRIvLNYQrkAsA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gNRMFsFpzuLgpTNN02cEkQ0eUgfF3s8EC3VruNripd5XXjPS72ANN8leeMCYEWoSWMSY6WosWMxUt8Knyu3FPgWSxmCJrgjMkYFLlLFJSY+ATukiSfIT2HH2HjJ5zn2NsVeRIhYHd9Vx1K3Y/FJcOi3CGMbXe0DI3QYSwmVMo34+4+AUjmGMudCelyLEDl2Nn8lWNM4IkZ3eXKkxn7Zp6gdPGLeDKkdttVy8JouFo+j1ksoojhXOn18Rn+er0uTPf/krP46679I8MzWZIaSZO9Jsk6Ua710B360ssw7zBCX17q5lGbuiyuJcsU4pQqwwWxKadYJnksVJwK9WuM5qVYminhY6SzD282X3VpW9BxdTQv7g1hdw7y3eqqLm66IwqS4TvN0kmsQPFogghw4eZt2xlaFbt8rUEudBLnsnWEiU4Q3h82xh7JGQXhTTFoS/SEFqG0ZVfV7RbC93U7b4d6dPxUkTZ2r0scFVx9Lkpz6K+Pk+OuQTG9y/9xfbF77sYP2Y9RLfVQjvX4hXqpctoctSOF11jm9Zb6OHc1rC4ju/Nr3Vj1DF/qPYTzxui+RcejvsAZh6+HiTmac8J//8t5QjJiv2fpk0eVWyaeqcw8i7NGVjHfAdGHYA0KZW5kc3RyZWFtCmVuZG9iagoKMTIgMCBvYmoKPDwKL1NpemUgMTMKL1Jvb3QgMiAwIFIKL0luZm8gMyAwIFIKL0ZpbHRlciAvRmxhdGVEZWNvZGUKL1R5cGUgL1hSZWYKL0xlbmd0aCA1MQovVyBbIDEgMiAyIF0KL0luZGV4IFsgMCAxMyBdCj4+CnN0cmVhbQp4nCXKsRUAIAjE0CBiY+N4juoIboXcs/lNAmQ2JggTTbjoxvohxDAu9ezCvYgDD6O7BGkKZW5kc3RyZWFtCmVuZG9iagoKc3RhcnR4cmVmCjE0NjQKJSVFT0Y=",
  "include_content": false
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →