v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-261319281.7 MB

Create Enrollment URL

post/v1/user_profiles/{user_profile_id}/enrollment_url?beta=true

Path parameters

user_profile_idstring required

Path parameter user_profile_id

Headers

anthropic-versionstring
anthropic-betastring

Response

Successful response (OK)

urlstring required

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

expires_atstring date-time required

A timestamp in RFC 3339 format

type'enrollment_url' required

Object type. Always enrollment_url.

Example response

{
  "type": "enrollment_url",
  "url": "https://platform.claude.com/user-profiles/enrollment/M3J0bGJxZ2ppMnptbnB1",
  "expires_at": "2026-03-15T10:15:00Z"
}