---
title: "App attribution"
description: "Name the app behind a request."
---

# App attribution

App attribution tags a request with the app that sent it. Send any of these headers:

| Header | Meaning |
|---|---|
| `HTTP-Referer` | Your app's URL. |
| `X-OpenRouter-Title` or `X-Title` | Your app's name. |

The gateway turns the first header present into a number, `app_id` on the [generation](../api/generation.md). The same header value always gives the same `app_id`. There is no app registry.
The headers do not change routing or price.

```sh
curl https://api.plaingateway.com/api/v1/chat/completions \
  -H "Authorization: Bearer $PLAINGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -H "HTTP-Referer: https://example.com" \
  -H "X-Title: Example app" \
  -d '{"model": "openai/gpt-5.6-luna", "messages": [{"role": "user", "content": "Hello"}]}'
```
