---
title: "Logging"
description: "API request logging and debugging in Fenerum"
url: https://www.fenerum.com/en-DK/docs/api/guides/logging/
updated_at: "2025-12-22T00:00:00"
---
## Request Logging

Fenerum automatically logs all API requests to help you debug integrations and monitor API usage.

### Request Metadata Headers

To enhance logging and auditability, include these headers in your API requests:

#### X-Client-System (Required)

Identifies the system making the request:

```http
X-Client-System: <name-of-your-system>
```

You will be able to see this in the UI when going through audit logs.

#### X-User (Recommended)

If multiple users access Fenerum through your system, include their username:

```http
X-User: <username-in-your-system>
```

This enables detailed audit trails showing which external user made specific changes.

**Example:**

```http
<!-- filename: Request GET /api/v1/accounts/ -->
GET /api/v1/accounts/ HTTP/1.1
Authorization: Token abc123
X-Client-System: MyAwesomeCRM
X-User: john
```

When viewing logs, you'll see which system and user made each request, making debugging and auditing much easier.

### Request IDs

Every API response includes a unique `X-Request-ID` header:

```
X-Request-ID: 8f7e6d5c-4b3a-2910-8765-abcdef123456
```

Use this ID when contacting support to help us quickly locate your request in our logs.

---

## Navigation

Up: [Subscription management & financial insights on autopilot](https://www.fenerum.com/en-DK/index.md) › [Documentation](https://www.fenerum.com/en-DK/docs.md) › [API Documentation](https://www.fenerum.com/en-DK/docs/api.md)

Full site index: https://www.fenerum.com/llms.txt
