> For the complete documentation index, see [llms.txt](https://developers.firstbase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.firstbase.com/getting-started/making-requests.md).

# Making requests

When making API requests, ensure the following headers are included:

* **Authorization.** Contains the API key using the format `ApiKey {{api-key}}`, where `{{api-key}}` is your actual API key.
* **Accept.** Specifies the response content type. For SCIM endpoints, use `application/scim+json`. For other API endpoints, use `application/json`.

Here is an example to retrieve all inventory details

```bash
curl -X 'GET' \
'https://apipub.firstbasehq.com/api/inventory' \
-H 'accept: application/json' \
-H 'Authorization: ApiKey 0000000000000000000000'
```
