Bans, strikes, warnings, appeals and whitelist.
POST/api/v1/actions/moderation.ban
Ban for hours or minutes (neither = permanent)
moderation:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason * | string | Shown in the admin log |
hours | integer | |
minutes | integer | |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "moderation.ban",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/moderation.ban" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string","hours":0,"minutes":0}'
Try it
Add your site and key at the top.
POST/api/v1/actions/moderation.kick
Kick
moderation:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "moderation.kick",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/moderation.kick" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/moderation.mute
Mute in website chat
moderation:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
minutes * | integer | |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "moderation.mute",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/moderation.mute" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","minutes":0,"reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/moderation.strike
Strike
moderation:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason * | string | Shown in the admin log |
count | integer | |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "moderation.strike",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/moderation.strike" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string","count":0}'
Try it
Add your site and key at the top.
POST/api/v1/actions/moderation.unban
Unban
moderation:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "moderation.unban",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/moderation.unban" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/moderation.unmute
Unmute in website chat
moderation:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "moderation.unmute",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/moderation.unmute" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/moderation.warn
Warn
moderation:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason * | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "moderation.warn",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/moderation.warn" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/moderation.whitelist_add
Add to the whitelist
moderation:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "moderation.whitelist_add",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/moderation.whitelist_add" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
POST/api/v1/actions/moderation.whitelist_remove
Remove from the whitelist
moderation:act
Send an Idempotency-Key: the same key returns the first result and never acts twice. Read the result at status_url.
Body
steam_id * | string | Full Steam ID |
reason | string | Shown in the admin log |
Answers
200OK
{
"id": "act_00000000000000000000000000000000",
"action": "moderation.whitelist_remove",
"state": "done",
"at": 0,
"status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl -X POST "https://your-site.com/api/v1/actions/moderation.whitelist_remove" \
-H "Authorization: Bearer $SEQUENCE_KEY" \
-H "Idempotency-Key: $(uuidgen)" \
-H "Content-Type: application/json" \
-d '{"steam_id":"string","reason":"string"}'
Try it
Add your site and key at the top.
GET/api/v1/moderation/strikes/{steam_id}
A player's strikes and warnings (game, Discord, website)
moderation:read
Parameters
steam_id * | path · string | Full Steam ID (17 digits) |
Answers
200OK
{
"data": [
{
"kind": "warn",
"reason": "Spam",
"at": 1761955200
}
],
"next_cursor": null
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl "https://your-site.com/api/v1/moderation/strikes/{steam_id}" \
-H "Authorization: Bearer $SEQUENCE_KEY"
Try it
GET/api/v1/moderation/tickets
Support tickets and reports, open first
moderation:read
Parameters
status | query · string | open (waiting for staff or the player), answered, closed, resolved, or all |
steam_id | query · string | only this player's tickets (the one who opened it, or the one reported) |
limit | query · integer | Rows per page (1-100) |
cursor | query · string | next_cursor of the previous page |
Answers
200OK
{
"data": [
{
"id": 7,
"kind": "help",
"subject": "Lost dino",
"status": "open"
}
],
"next_cursor": null
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl "https://your-site.com/api/v1/moderation/tickets" \
-H "Authorization: Bearer $SEQUENCE_KEY"
Try it