Claude Platform Docs

How user profiles work

A user profile tells Anthropic which of your customers a request to Claude is for. Learn why that matters and when you need one.

A user profile tells Anthropic which of your customers a request to Claude is for, whether that’s a person or a company. It matters when your customers (“end customers”) use Claude through your product or platform, because their requests arrive under your organization. With a user profile for each end customer, a safety restriction or ban can apply to that one end customer instead of your whole organization.

How it works

Suppose your platform serves two companies through your organization. You create a user profile for each and send that user profile’s ID on the company’s requests. If one company’s requests lead to a safety enforcement action, such as a restriction or a ban, it can apply to that company’s user profile. When it does, the other company’s requests are unaffected.

Without user profiles, all of those requests arrive under your organization, and at most a free-text metadata.user_idPreview with links to the API reference available — press Tab until focus enters the card, Escape to return. tells them apart. Anthropic runs automated safety classifiers over API traffic, so one end customer can then trigger an enforcement action that applies to your whole organization.

You create a user profile once for each end customer, and Anthropic gives it an opaque ID that holds none of the details you provide. You send that ID on every request you make for that end customer. Any details you add, such as a name or metadata, are optional. To start, see Create user profiles and attribute requests.

On their own, user profiles don’t change billing or pricing. If you use Linked billing, a user profile is also how you identify the customer to bill.

What a user profile contains and how Anthropic uses it

A user profile contains only what you send about the end customer, plus any program status or enforcement status that Anthropic sets. It doesn’t contain conversation content. Anthropic uses the details you send to attribute requests, to monitor for abuse, for enforcement of the Usage Policy, and to enable application and access to trusted access programs. Anthropic doesn’t verify the details.

Anthropic processes user profiles in accordance with the Privacy Policy. The feature eligibility tables cover how long Anthropic keeps user profile data.

How much you send is up to you. For example, this POST /v1/user_profilesPreview with links to the API reference available — press Tab until focus enters the card, Escape to return. request sends only the end customer’s name:

{
  "name": "Ana García"
}

Every field is optional, so you can send an empty JSON object, {}, instead. Without an access_type, the request makes an application user profile for an end customer who uses your product. A fuller request adds other details:

{
  "name": "Ana García",
  "external_user_details": {
    "entity_type": "individual",
    "country": "ES",
    "reference_id": "user-4821",
    "onboarded_at": "2026-03-15T10:00:00Z",
    "account_status": "active",
    "email_hash": "8fac453d04351152e705c17d1ce2a0f079400e2a0edf662e97d803427fd608c9"
  },
  "metadata": {
    "plan": "pro"
  }
}

Each of these returns the user profile with its uprof_ ID, as in the example response. For the rules on these fields, see What to tell Anthropic about an end customer.

When to use it

Use user profiles if you operate a platform, operate a gateway, or resell API access. The requests you send for your end customers arrive under your organization. Your own usage doesn’t need a user profile.

Was this page helpful?