> For the complete documentation index, see [llms.txt](https://docs.bloodbath.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bloodbath.io/faq/whats-the-correct-format-to-build-headers.md).

# What's the correct format to build headers?

The headers should be a valid JSON. You have to quote the keys and values and avoid spaces before the `:` character.

In some clients, you may have to escape the double quotes like so

```
"{\\"valid\\": \\"json-format\\"}"
```

Upon receiving a bad JSON format, Bloodbath API will refuse adding your event and output a clear error.
