Reply to an abuse report
curl --request POST \
--url https://my.server.express/api/v1/dedicated/{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/dedicated/{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/dedicated/{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": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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>"
}Dedicated
Reply to an abuse report
Adds your reply to the report’s thread. Needs operate access (owner, team ADMIN or OPERATOR). Unless the report is RESOLVED or CLOSED its status moves to CUSTOMER_REPLIED. Writes a REPLY_ABUSE_REPORT audit entry and notifies staff.
POST
/
v1
/
dedicated
/
{id}
/
abuse
/
{reportId}
/
reply
Reply to an abuse report
curl --request POST \
--url https://my.server.express/api/v1/dedicated/{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/dedicated/{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/dedicated/{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": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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.
Path Parameters
The service id.
The abuse report id.
Body
application/json
Your reply. Trimmed; must not be blank.
Minimum string length:
1