Create Enrollment URL changedapi/beta/user_profiles/create_enrollment_url
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+11added
Lines−16removed
From line
1
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits20to this page, all time
# Create Enrollment URL ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Create Enrollment URL ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
The whole hunk
from line 1, old and new numbered
/
from line 1
1---
2title: Create Enrollment URL
3url: https://platform.claude.com/docs/en/api/beta/user_profiles/create_enrollment_url
4---
1# Create Enrollment URL
52
6## Create Enrollment URL
3**POST** `/v1/user_profiles/{user_profile_id}/enrollment_url`
74
8**post** `/v1/user_profiles/{user_profile_id}/enrollment_url`
9
105Create Enrollment URL
116
12### Path Parameters
7## Path parameters
138
149- `user_profile_id: string`
1510
16### Header Parameters
11## Headers
1712
1813- `"anthropic-beta": optional array of AnthropicBeta`
1914
from line 86
9186
9287 - `"mid-conversation-tool-changes-2026-07-01"`
9388
94### Returns
89## Returns
9590
96- `BetaUserProfileEnrollmentURL object { expires_at, type, url }`
91- `BetaUserProfileEnrollmentURL object`
9792
9893 - `expires_at: string`
9994
10095 A timestamp in RFC 3339 format
10196
97 format: date-time
98
10299 - `type: "enrollment_url"`
103100
104101 Object type. Always `enrollment_url`.
105102
106 - `"enrollment_url"`
107
108103 - `url: string`
109104
110105 Enrollment URL to send to the end user. Valid until `expires_at`.
111106
112### Example
107## Example
113108
114```http
109```bash
115110curl https://api.anthropic.com/v1/user_profiles/$USER_PROFILE_ID/enrollment_url \
116111 -X POST \
117112 -H 'anthropic-version: 2023-06-01' \
from line 114
119114 -H "X-Api-Key: $ANTHROPIC_API_KEY"
120115```
121116
122#### Response
117### Response (200)
123118
124119```json
125120{
No line in this hunk matches that.