---
title: "Save Attribution"
method: POST
path: "/api/user/attribution"
---

# Save Attribution

`POST /api/user/attribution`

Store UTM attribution data for the authenticated user.

Priority-aware first-touch (upsert_user_attribution SQL function): a
'frontend' write upgrades fallback rows ('clerk_webhook',
'frontend_fallback') but never overwrites an equal-priority source
('frontend', 'mcp_oauth') — and vice versa.

## Query parameters

- `user_id` string
- `org_id` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/every/apis/every-api.md) · [All operations](https://skmtc.net/every/apis/every-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/every/every-api/versions/9744001af85d/schema)
