Create Enrollment URL
BetaUserProfileEnrollmentUrl beta().userProfiles().createEnrollmentUrl(UserProfileCreateEnrollmentUrlParamsparams = UserProfileCreateEnrollmentUrlParams.none(), RequestOptionsrequestOptions = RequestOptions.none())
POST/v1/user_profiles/{id}/enrollment_url
Create Enrollment URL
Parameters
Returns
Create Enrollment URL
package com.anthropic.example;
import com.anthropic.client.AnthropicClient;
import com.anthropic.client.okhttp.AnthropicOkHttpClient;
import com.anthropic.models.beta.userprofiles.BetaUserProfileEnrollmentUrl;
import com.anthropic.models.beta.userprofiles.UserProfileCreateEnrollmentUrlParams;
public final class Main {
private Main() {}
public static void main(String[] args) {
AnthropicClient client = AnthropicOkHttpClient.fromEnv();
BetaUserProfileEnrollmentUrl betaUserProfileEnrollmentUrl = client.beta().userProfiles().createEnrollmentUrl("id");
}
}Response 200
{
"expires_at": "2019-12-27T18:11:19.117Z",
"type": "type",
"url": "url"
}Returns Examples
Response 200
{
"expires_at": "2019-12-27T18:11:19.117Z",
"type": "type",
"url": "url"
}