Claude Platform Docs

Action URLs

Create Action URL
beta.user_profiles.action_urls.create(user_profile_id, **kwargs) -> BetaUserProfileActionURL
POST/v1/user_profiles/{user_profile_id}/action_urls
Models
class BetaUserProfileActionURL: type: "user_profile_action_url"; expires_at; url

A URL to give to the person who takes the requested action.

type: Literal["user_profile_action_url"]

Object type. Always user_profile_action_url.

expires_at: datetime

When the URL stops working, in RFC 3339 format.

formatdate-time
url: str

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

class BetaUserProfileEnrollEndUserActionParam: type: "enroll_end_user"

The end-user that the profile represents enrolls in a program.

type: Literal["enroll_end_user"]