Create Enrollment URL
$ ant beta:user-profiles create-enrollment-urlPOST/v1/user_profiles/{user_profile_id}/enrollment_url
Create Enrollment URL
Parameters
Optional header to specify the beta version(s) you want to use.
Returns
Create Enrollment URL
ant beta:user-profiles create-enrollment-url \
--api-key my-anthropic-api-key \
--user-profile-id uprof_011CZkZCu8hGbp5mYRQgUmz9{
"expires_at": "2026-03-15T10:15:00Z",
"type": "enrollment_url",
"url": "https://platform.claude.com/user-profiles/enrollment/M3J0bGJxZ2ppMnptbnB1"
}Returns Examples
{
"expires_at": "2026-03-15T10:15:00Z",
"type": "enrollment_url",
"url": "https://platform.claude.com/user-profiles/enrollment/M3J0bGJxZ2ppMnptbnB1"
}