Claude Platform Docs

Profils utilisateur

Créer un profil utilisateur
POST/v1/user_profiles
Lister les profils utilisateur
GET/v1/user_profiles
Obtenir un profil utilisateur
GET/v1/user_profiles/{user_profile_id}
Mettre à jour un profil utilisateur
POST/v1/user_profiles/{user_profile_id}
Créer une URL d'inscription
POST/v1/user_profiles/{user_profile_id}/enrollment_url
Models
BetaUserProfile object{ type, id, created_at, 8 more }
BetaUserProfileEnrollmentURL object{ type, expires_at, url }
type: "enrollment_url"

Object type. Always enrollment_url.

expires_at: string

A timestamp in RFC 3339 format

formatdate-time
url: string

Enrollment URL to send to the end user. Valid until expires_at.

BetaUserProfileExternalUserDetails object{ account_status, country, email_hash, 4 more }

Details about the entity this profile represents, as the platform states them. Anthropic does not verify them. Every field is present, null until the platform supplies a value.

BetaUserProfileExternalUserDetailsParams object{ account_status, country, email_hash, 4 more }
BetaUserProfileTrustGrant object{ status }
status: "active" or "pending" or "rejected"

Status of the trust grant.

One of the following:
"active"
"pending"
"rejected"