Claude Platform Docs

Action URLs

Create Action URL
$client->beta->userProfiles->actionURLs->create(string userProfileID, UserProfileEnrollEndUserAction action, ?list<AnthropicBeta> betas, ?string workspaceID): UserProfileActionURL
POST/v1/user_profiles/{user_profile_id}/action_urls
Models
class UserProfileActionURL { $type = 'user_profile_action_url'; $expiresAt; $url; }
"user_profile_action_url" type

Object type. Always user_profile_action_url.

\Datetime expiresAt

When the URL stops working, in RFC 3339 format.

string url

The URL to give to the person who takes the action. Anyone who holds it can open it until expires_at.

class UserProfileEnrollEndUserAction { $type = 'enroll_end_user'; }
"enroll_end_user" type