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

# Headers and body

> Example section for showcasing API endpoints

<Note>
  It is important that these headers are sent, since not sending them could cause the APIs to deliver an undesired
  result.
</Note>

## Headers

Each API call must include the following fields in the Header:

<CodeGroup>
  ```javascript Request theme={null}
  {
    "headers": {
      "Accept": "application/json",
      "Authorization": "Bearer {token}",
      "Content-Type": "application/json"
    },
    ...
  }
  ```
</CodeGroup>

## Body

The Body of each API call must be in JSON format. For example:

<CodeGroup>
  ```javascript Response theme={null}
  {
    {
      "data": [
        {
          "documentId": "<string>",
          ...,
          "createdAt": "2025-01-01T00:00:00Z",
          "deletedAt": null,
          "isActived": true,
          "isDeleted": false,
          "updatedAt": "2025-01-01T00:00:00Z"
        }
      ],
      "metadata": {
        "correlation": "<string>",
        "currentPage": 1,
        "itemsPerPage": 100,
        "status": 200,
        "timestamp": "2025-01-01T00:00:00Z",
        "totalItems": 100,
        "totalPages": 10
      }
    }
  }
  ```
</CodeGroup>
