TypeScript
Create an appeal
Submit an appeal for a suspended user
const appeal = await client.createAnAppeal({
userId: "usr_123",
text: "Please review this decision.",
});Pass the Insion userId and the appeal message in text. Appeals must be enabled for the organization. The method returns CreateAppealResponse with the resulting appeal data.
Use the Insion user ID, not your application's clientId. If your application stores a record of the original decision, include the relevant context in the appeal text so reviewers can understand the request.