Reply to an abuse report
curl --request POST \
--url https://my.server.express/api/v1/services/{id}/abuse/{reportId}/reply \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>'})
};
fetch('https://my.server.express/api/v1/services/{id}/abuse/{reportId}/reply', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/services/{id}/abuse/{reportId}/reply"
payload = { "message": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"id": "<string>",
"author": "<string>",
"role": "staff",
"body": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Services
Reply to an abuse report
Adds a customer reply to a report on this service. Requires operate access. Unless the report is RESOLVED or CLOSED its status moves to CUSTOMER_REPLIED. Writes a REPLY_ABUSE_REPORT audit entry and notifies staff on Discord. Same handler as POST /v1/dedicated//abuse//reply.
POST
/
v1
/
services
/
{id}
/
abuse
/
{reportId}
/
reply
Reply to an abuse report
curl --request POST \
--url https://my.server.express/api/v1/services/{id}/abuse/{reportId}/reply \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>"
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({message: '<string>'})
};
fetch('https://my.server.express/api/v1/services/{id}/abuse/{reportId}/reply', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/services/{id}/abuse/{reportId}/reply"
payload = { "message": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"id": "<string>",
"author": "<string>",
"role": "staff",
"body": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Authorizations
Session access token (JWT) from POST /v1/auth/login or /v1/auth/refresh. A session satisfies every API scope.
Body
application/json
Trimmed; must not be blank.
Minimum string length:
1