Buat URL Tindakan
POST/v1/user_profiles/{user_profile_id}/action_urls
Buat tautan yang mengarahkan pelanggan akhir pemilik profil ke Verification Portal.
Lihat Kirim tautan ke Verification Portal kepada pelanggan akhir untuk mengetahui kapan harus membuat tautan dan apa yang dilihat pelanggan akhir.
Parameters
Returns
Buat URL Tindakan
require "anthropic"
anthropic = Anthropic::Client.new(api_key: "my-anthropic-api-key")
user_profile_action_url = anthropic.user_profiles.action_urls.create(
"uprof_011CZkZCu8hGbp5mYRQgUmz9",
action: {type: :enroll_end_user}
)
puts(user_profile_action_url)Response 200
{
"expires_at": "2026-03-15T10:15:00Z",
"type": "user_profile_action_url",
"url": "https://platform.claude.com/user-profiles/enrollment/M3J0bGJxZ2ppMnptbnB1"
}Returns Examples
Response 200
{
"expires_at": "2026-03-15T10:15:00Z",
"type": "user_profile_action_url",
"url": "https://platform.claude.com/user-profiles/enrollment/M3J0bGJxZ2ppMnptbnB1"
}