InsionInsion
UsersUserAppeals

Create an appeal

Create an appeal for a suspended user. Appeals must be enabled for the organization.

POST
/api/v1/users/{userId}/create_appeal

Authorization

bearerAuth
AuthorizationBearer <token>

Provide an API key from the Insion dashboard in the Authorization header: Bearer YOUR_API_KEY.

In: header

Path Parameters

userId*string

Insion user ID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/users/string/create_appeal" \  -H "Content-Type: application/json" \  -d '{    "text": "string"  }'
{  "data": {    "id": "string",    "actionStatus": "Compliant",    "actionStatusCreatedAt": "2019-08-24T14:15:22Z",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z",    "appealUrl": "http://example.com"  }}
{  "error": {    "message": "string"  }}
{  "error": {    "message": "string"  }}
{  "error": {    "message": "string"  }}
{  "error": {    "message": "string"  }}
{  "error": {    "message": "string"  }}