> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Headers

> All API requests to the Core API of the Marqeta platform must include the proper headers in order to be understood and processed.

To communicate with the Core API of the Marqeta platform, you must include the proper headers in your API requests.

For information on headers included in JIT Funding requests sent by the Marqeta platform, see [Gateway JIT Funding Messages](/core-api/gateway-jit-funding-messages/).

<h2 id="_request_headers">
  Request headers
</h2>

You must include the following headers in requests sent to the Core API:

| Name          | Description                               | Request Type         | Required Value   |
| ------------- | ----------------------------------------- | -------------------- | ---------------- |
| authorization | Credentials to authenticate your request. | `GET`, `POST`, `PUT` | Your token       |
| content-type  | The media type of the requested resource. | `POST`, `PUT`        | application/json |

<h3 id="_sample_request_headers">
  Sample request headers
</h3>

```bash Bash lines wrap theme={null}
$ Headers: Content-Type: application/json, Authorization: Basic {_your_encoded_credentials_}
```


## Related topics

- [Program Gateways](/docs/core-api/credit-program-gateways.md)
- [Program Gateway Funding Sources](/docs/core-api/program-gateway-funding-sources.md)
- [Errors](/docs/core-api/errors.md)
- [Authentication with the DiVA API](/docs/diva-api/authentication.md)
- [Webhooks](/docs/core-api/webhooks.md)
