attribute-requests changedmanage-claude/user-profiles/attribute-requests
Nearest release: v2.1.334, published 8 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+2added
Lines−2removed
From line
37
where the diff opens
First seen
30 Nov 2026
this site's first read of the page
Recorded edits3to this page, all time
The whole hunk
from line 37, old and new numbered
/
from line 37
3737
3838Create one user profile for each end customer before the first request that you send with its ID. Onboarding is a common place to do it. Because `POST /v1/user_profiles` isn’t idempotent, every call creates a new user profile, even when `reference_id` (your own ID for the end customer) matches an existing one. Store the ID it returns and reuse it.
3939
40If you already have end customers without user profiles, see the [guidance on registering an existing customer base](https://platform.claude.com/docs/en/manage-claude/user-profiles/attribute-requests#register-existing-end-customers) later in this section.
40If you already have end customers without user profiles, see [Register an existing customer base](https://platform.claude.com/docs/en/manage-claude/user-profiles/attribute-requests#register-existing-end-customers).
4141
4242### What to tell Anthropic about an end customer
4343
from line 65
6565
6666<CodeGroup>
6767 <CodeGroupItem>
68 This sample and others like it on this page send an access token from `ANTHROPIC_AUTH_TOKEN`, such as a [workload identity federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation#authenticate-from-your-workload) token. Set that variable only in the shell where you run them, because it takes precedence over federation environment variables and federation profiles.
68 This sample and others like it on this page send an access token from `ANTHROPIC_AUTH_TOKEN`, such as a [workload identity federation](https://platform.claude.com/docs/en/manage-claude/workload-identity-federation#authenticate-from-your-workload) token. Set that variable only in the shell where you run them. The SDK and the CLI also read it, and it takes precedence over federation environment variables and federation profiles.
6969
7070 ```bash cURL
7171 curl https://api.anthropic.com/v1/user_profiles \
No line in this hunk matches that.