Request and response formats
Set these headers on every request:Content-Type: format of the request body.Accept: format you want in the response.
Common content types
| Content-Type | Description |
|---|---|
application/json | JSON-encoded request/response. |
text/plain | Plain text. |
text/xml | XML document. |
Why it matters
Even when only one format is currently supported, the API uses these headers to allow future expansion without breaking clients.Language selection
Some endpoints acceptAccept-Language to localize human-readable strings.