Skip to content
GAMPEONCreate
New project

Decide on an appeal about a post

POST
/v1/moderation/social-appeals/{id}/decision
curl --request POST \
--url https://api.gampeon.com/v1/moderation/social-appeals/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/decision \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "outcome": "uphold", "statementOfReasons": "example" }'

reverse restores the post unless another removal still applies. The author gets the reasons and the notice about out-of-court dispute settlement (Art. 21 DSA).

Requires the role moderator or admin.

Not available with access tokens.

id
required
string format: uuid

Appeal ID

Media typeapplication/json
object
outcome
required
string
Allowed values: uphold reverse
statementOfReasons
required

Statement of reasons, shown to the author (Art. 17 DSA)

string
>= 20 characters <= 5000 characters

Decided

Media typeapplication/json
object
appealId
required
string
outcome
required
string
restored
required
boolean

Example generated

{
"appealId": "example",
"outcome": "example",
"restored": true
}

Error codes: invalid_field

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Error codes: unauthorized

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Error codes: forbidden, token_not_allowed

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Error codes: not_found

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Error codes: already_decided

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Report a problem with this pageOther ways to give feedback