Latest in AI
Claude API Adds User Profiles and Beta Enforcement Webhooks
Anthropic gives API platforms end-customer attribution and enforcement notifications, with practical limits around identity, delivery and privacy.
Anthropic launched Claude API user profiles and beta organization webhooks on October 20, 2026. Together, the additions give platforms a way to identify whose requests they send and learn when Anthropic restricts that customer's access. The release notes explain the intended benefit: safety enforcement can apply to an end customer rather than the platform's entire organization. That matters when many unrelated customers share one provider account.
Match profiles to the right customer
The user profile API reference distinguishes two customer relationships. An application profile represents an individual using a product built on Claude. A passthrough profile represents a company buying resold inference. Application is the default, so gateways reselling access need to choose passthrough deliberately. Messages, token-counting and Message Batches requests can carry the profile ID in the anthropic-user-profile-id header. The profile is a record used for attribution, not a replacement for the application's own authentication system.
Create profiles once and limit stored data
The implementation guide recommends creating each profile once and storing its returned ID on the customer record. Creation is not idempotent: repeating a request with the same reference_id creates another profile. Profiles are not billable. They belong to an organization, not a workspace, and Anthropic recommends separating internal usage from end-customer traffic into different organizations.
Profiles can be created on Claude API, Claude Platform on AWS and Anthropic-hosted Microsoft Foundry deployments, but not Azure-hosted Foundry. Bedrock and Google Cloud attribution use profiles created elsewhere; the older Bedrock InvokeModel and Converse integration does not support them.
Data minimization deserves attention during onboarding. Profiles contain supplied customer details and program information, not conversation content. All supplied fields are optional, and hashes can represent names or email addresses. Hashes enable matching across profiles, so they should not be described as a guarantee of anonymity. Deleting a profile removes submitted information but preserves Anthropic's trust-and-safety records associated with its ID. These are product behaviors to account for when describing data handling to customers.
Read the new enforcement status fields
Updated October 22, 2026: Anthropic's October 21 release added enforcement_status and enforcement_actions to profile responses, plus an enforcement_status[] list filter. These describe provider restrictions, separately from account_status, which records your platform's own decision.
The status is unrestricted, restricted or banned. The actions list contains currently open restrictions and bans, with their reason, opening time, optional expiry and any available customer action. Closed actions leave that list, so it is not a permanent event history.
Retrieve the profile or filter listings for restricted and banned customers. Do not rely on updated_at to detect changes: enforcement updates do not reliably move it. Without webhooks, compare both enforcement fields with your previous snapshot.
Remove user-profiles-2026-09-04 and earlier beta values to receive these fields. They are read-only. On Claude Platform on AWS, they always report unrestricted and an empty list; Anthropic does not refuse requests there because of an open action. That exception makes the hosting route essential context for an operations dashboard.
Handle enforcement events as notifications
The organization webhook guide describes a narrower beta. Access requires contacting an Anthropic account team and sending the webhooks-2026-10-07 beta header. Organizations with HIPAA readiness enabled are excluded, as are organizations whose default workspace uses customer-managed encryption. The two events report an enforcement action opening or resolving. They carry identifiers, so receivers retrieve the current profile rather than treating event arrival order as authoritative.
Verify Standard Webhooks signatures, deduplicate event IDs and acknowledge within five seconds. Retries last only a few minutes; ultimately failed events are dropped. Events skipped while an endpoint is disabled are not replayed. Reconciliation therefore needs profile listing, including actions that predate registration. Deleting a profile closes its actions without a resolved event.
Coordinate endpoint and signing-secret changes
The webhook API reference adds endpoint management separately from customer-profile management. Teams can create, retrieve, update or delete organization endpoints and rotate their signing secrets. Rotation invalidates the old secret immediately, and the replacement is returned only in that response. Treat receiver deployment and secret rotation as one coordinated operation rather than assuming an overlap window. Keeping webhook configuration separate from customer records also makes it easier to assign operational ownership.
For a platform rollout, I would first audit where customer identity enters the request path, including batch jobs and retries. Then test duplicate and delayed notifications against the support workflow that explains an access restriction. The useful outcome is an attributable request and a current customer status that operations can act on, without letting a missed notification silently become the source of truth.
I'm Paras. I work at the intersection of AI, engineering and distribution.
I help technical founders explain AI launch stories to developers, turning API changes into clear stories about real operational decisions.