Skip to content

Moderation

Bans, strikes, warnings, appeals and whitelist.

Your key stays in this tab. Calls go straight to your server.

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 *stringFull Steam ID
reason *stringShown in the admin log
hoursinteger
minutesinteger

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "moderation.ban",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

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 *stringFull Steam ID
reasonstringShown in the admin log

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "moderation.kick",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

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 *stringFull Steam ID
minutes *integer
reasonstringShown in the admin log

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "moderation.mute",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

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 *stringFull Steam ID
reason *stringShown in the admin log
countinteger

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "moderation.strike",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

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 *stringFull Steam ID
reasonstringShown in the admin log

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "moderation.unban",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

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 *stringFull Steam ID
reasonstringShown in the admin log

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "moderation.unmute",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

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 *stringFull Steam ID
reason *stringShown in the admin log

Answers

200OK
{
  "id": "act_00000000000000000000000000000000",
  "action": "moderation.warn",
  "state": "done",
  "at": 0,
  "status_url": "/api/v1/actions/act_00000000000000000000000000000000"
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

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 *stringFull Steam ID
reasonstringShown 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
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

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 *stringFull Steam ID
reasonstringShown 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
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

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/appeals

Ban appeals

moderation:read

Parameters

limitquery · integerRows per page (1-100)
cursorquery · stringnext_cursor of the previous page
statusquery · stringopen, accepted or denied

Answers

200OK
{
  "data": [
    {
      "id": 2,
      "status": "open",
      "steam_id": "76561198000000000"
    }
  ],
  "next_cursor": null
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/moderation/appeals" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/moderation/bans

Active website/game bans with reason and expiry

moderation:read

Parameters

limitquery · integerRows per page (1-100)
cursorquery · stringnext_cursor of the previous page

Answers

200OK
{
  "data": [
    {
      "id": 5,
      "steam_id": "76561198000000000",
      "reason": "Cheating",
      "permanent": false,
      "expires_at": 1762000000
    }
  ],
  "next_cursor": null
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/moderation/bans" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/moderation/cases

Moderation cases, newest first

moderation:read

Parameters

limitquery · integerRows per page (1-100)
cursorquery · stringnext_cursor of the previous page

Answers

200OK
{
  "data": [
    {
      "id": 12,
      "steam_id": "76561198000000000",
      "kind": "strike",
      "reason": "RDM"
    }
  ],
  "next_cursor": null
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/moderation/cases" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/moderation/mutes

Active website chat mutes

moderation:read

Answers

200OK
{
  "data": [
    {
      "steam_id": "76561198000000000",
      "until": 1762000000
    }
  ],
  "next_cursor": null
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/moderation/mutes" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/moderation/staff

Staff on the team page and who is on duty or in game now

moderation:read

Answers

200OK
{
  "team": [
    {
      "name": "Admin",
      "role": "Owner"
    }
  ],
  "online": {}
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/moderation/staff" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

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 · stringFull Steam ID (17 digits)

Answers

200OK
{
  "data": [
    {
      "kind": "warn",
      "reason": "Spam",
      "at": 1761955200
    }
  ],
  "next_cursor": null
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/moderation/strikes/{steam_id}" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/moderation/tickets

Support tickets and reports, open first

moderation:read

Parameters

statusquery · stringopen (waiting for staff or the player), answered, closed, resolved, or all
steam_idquery · stringonly this player's tickets (the one who opened it, or the one reported)
limitquery · integerRows per page (1-100)
cursorquery · stringnext_cursor of the previous page

Answers

200OK
{
  "data": [
    {
      "id": 7,
      "kind": "help",
      "subject": "Lost dino",
      "status": "open"
    }
  ],
  "next_cursor": null
}
401Error
errorobject
error.codestring
error.messagestring
403Error
errorobject
error.codestring
error.messagestring
429Error
errorobject
error.codestring
error.messagestring

Code

curl "https://your-site.com/api/v1/moderation/tickets" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.