Skip to content

Test keys

Sample events for test keys.

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

GET/api/v1/sandbox/events

The event types and a sample of each

Test keys and live keys. The samples are made up.

Answers

200OK
{
  "data": [
    {
      "type": "player.joined",
      "sample": {
        "id": "evt_1",
        "type": "player.joined",
        "at": 1761955200000,
        "server": "sandbox",
        "data": {
          "steam_id": "76561190000000101",
          "name": "RaptorRae"
        }
      }
    }
  ]
}
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/sandbox/events" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

GET/api/v1/sandbox/log

What this test key's sample actions sent

Answers

200OK
{
  "data": [
    {
      "at": 1761955200,
      "method": "POST",
      "path": "/api/v1/moderation/kick",
      "route": "/api/v1/moderation/kick",
      "body": "{}",
      "idempotency_key": "a1",
      "event": "moderation.kicked"
    }
  ]
}
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/sandbox/log" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

POST/api/v1/sandbox/trigger

Fire a sample event (test keys)

Sends one made-up event to every `sequencemods listen` running with this test key.

Body

type *string
dataobjectFields to set on the sample event's data
steam_idstringThe sample player the event is about

Answers

200OK
{
  "event": {
    "id": "evt_1",
    "type": "player.killed",
    "at": 1761955200000,
    "server": "sandbox",
    "data": {}
  },
  "listeners": 1
}
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/sandbox/trigger" \
  -H "Authorization: Bearer $SEQUENCE_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"type":"player.joined","data":{},"steam_id":"string"}'

Try it

Add your site and key at the top.