---
title: "Set Utm"
method: POST
path: "/api/user/utm"
tags: ["user"]
---

# Set Utm

`POST /api/user/utm`

## Request

- Base URL: `https://api.ncspeech.org` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ncspeech.org/api/user/utm`
- Auth: HTTP bearer

Save (or overwrite) is_driver and utm; records utm_set_at timestamp.

## Headers

- `X-Test-UID` string, nullable

## Request body

- UtmPayload
  - `isDriver` 'driver' | 'passenger' | 'undefined', required
  - `utm` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ncspeech/apis/advanced-data-collector-api.md) - [All operations](https://skmtc.dev/ncspeech/apis/advanced-data-collector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/ncspeech/apis/advanced-data-collector-api/revisions/fec602f8df8c?raw)
