---
title: "Backfill current user's browser language"
method: POST
path: "/user/me/browser-language"
tags: ["User"]
---

# Backfill current user's browser language

`POST /user/me/browser-language`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/user/me/browser-language`
- Auth: none declared. Required headers: `Authorization`

Captures the Accept-Language header from a live dashboard visit and, only if the caller's signup Accept-Language was never recorded, saves it and its derived primary subtag. A no-op for a caller who already has a value on file.

## Headers

- `Authorization` string, required

## Request body

- UserUserBrowserLanguageReq
  - `accept_language` string: AcceptLanguage is the raw Accept-Language header captured from a live console visit (already ASCII-filtered and length-capped by the frontend, same as the OAuth signup path — see the SignupAcceptLanguage comment on models.User).

## Response `200`

Backfill result

- UserUserBrowserLanguageResponseDoc
  - `code` integer
  - `data` UserUserBrowserLanguageDoc
    - `updated` boolean
  - `msg` string

## Other responses

- `401`: Authentication required
- `500`: Internal server error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/0497899e2016?raw)
