Sample events for test keys.
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
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/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
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/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 | |
data | object | Fields to set on the sample event's data |
steam_id | string | The sample player the event is about |
Answers
200OK
{
"event": {
"id": "evt_1",
"type": "player.killed",
"at": 1761955200000,
"server": "sandbox",
"data": {}
},
"listeners": 1
}
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/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.