Java
Create an appeal
Submit an appeal for a suspended user
CreateAppealResponse appeal = client.createAnAppeal(
"usr_123",
PostApiV1UsersUserIdCreateAppealRequest.builder()
.text("Please review this decision.")
.build()
);The first argument is the Insion userId, not your application clientId. The request builder requires text. Appeals must be enabled for the organization.
Method signature
CreateAppealResponse createAnAppeal(
String userId,
PostApiV1UsersUserIdCreateAppealRequest request
)The request builder only requires text(String). Keep the returned appeal data in your application if you need to show the appeal status or link it to a support workflow. Pass RequestOptions as the third argument to customize this request.