Skip to content

Deliveries

Points, dinos, items, skins or roles from your own shop.

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

GET/api/v1/deliveries

List deliveries

Newest first. Needs economy, garage, shops or players (read or act).

Parameters

cursorquery · stringnext_cursor from the last page
limitquery · integer1 to 100 (default 50)
steam_idquery · stringonly this player
statequery · stringdelivered, partial, failed, waiting or delivering

Answers

200OK
{
  "data": [
    {
      "id": "dlv_5f0c2d1e9a7b4c3d2e1f0a9b",
      "object": "delivery",
      "state": "delivered",
      "steam_id": "76561199000000000",
      "note": "order 1042",
      "key_name": "Store",
      "grants": [
        {
          "kind": "points",
          "amount": 500,
          "state": "delivered",
          "receipt": {
            "amount": 500,
            "balance_after": 1700
          }
        },
        {
          "kind": "dino",
          "species": "BP_Tyrannosaurus_C",
          "growth_pct": 100,
          "prime": false,
          "entomb": 0,
          "sex": "",
          "name": "",
          "mutations": [
            "",
            "",
            "",
            ""
          ],
          "parent_mutations": [
            "",
            "",
            "",
            ""
          ],
          "elder_mutations": [
            "",
            "",
            "",
            "",
            "",
            "",
            "",
            ""
          ],
          "state": "delivered",
          "receipt": {
            "dino_id": "3c9e0f6b2a1d4e5f8a7b6c5d4e3f2a1b",
            "species": "BP_Tyrannosaurus_C",
            "label": "Tyrannosaurus",
            "growth_pct": 100,
            "prime": false
          }
        }
      ],
      "created_at": 1761955200000,
      "finished_at": 1761955200412
    }
  ],
  "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/deliveries" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.

POST/api/v1/deliveries

Give a player what they bought

Points, a dinosaur to the garage, items, a skin or a Discord role for one Steam ID, delivered once per Idempotency-Key. Items wait for the player to join in a live dinosaur. Each grant needs its scope: points economy:act, dino garage:act, item and skin shops:act, role players:act. A finished delivery fires the delivery.done event. 201 = a new delivery (state delivered, partial, failed or waiting; a grant that did not land carries error {code, message}, e.g. points_cap_reached when the key's daily points cap is used up); 200 = the same Idempotency-Key and body again (replayed, nothing given twice); 422 idempotency_key_reused = the key was used for a different call; 400 bad_body, bad_grant, bad_steam_id, idempotency_key_required; 403 missing_scope or the part of the server a grant needs is off.

Body

steam_id *stringthe player's SteamID64
grants *object[]
grants[].kind *string
grants[].amountintegerpoints: how many (1 to 10,000,000)
grants[].speciesstringdino: class name, e.g. BP_Tyrannosaurus_C
grants[].growth_pctintegerdino: 1 to 100 (default 100)
grants[].primeboolean
grants[].entombintegerdino: 0 to 3
grants[].sexstring
grants[].namestring
grants[].mutationsstring[]dino: up to 4
grants[].parent_mutationsstring[]dino: up to 4
grants[].elder_mutationsstring[]dino: up to 8
grants[].itemstringitem: given when the player is in game in a live dinosaur
grants[].skin_idstring
grants[].usesintegerskin: 1 to 999 (default 1)
grants[].tierintegerrole: a membership tier with a Discord role
grants[].daysintegerrole: how long; left out = no end
notestringyour order reference (up to 200 characters)

Answers

200OK
{
  "id": "dlv_5f0c2d1e9a7b4c3d2e1f0a9b",
  "object": "delivery",
  "state": "delivered",
  "steam_id": "76561199000000000",
  "note": "order 1042",
  "key_name": "Store",
  "grants": [
    {
      "kind": "points",
      "amount": 500,
      "state": "delivered",
      "receipt": {
        "amount": 500,
        "balance_after": 1700
      }
    },
    {
      "kind": "dino",
      "species": "BP_Tyrannosaurus_C",
      "growth_pct": 100,
      "prime": false,
      "entomb": 0,
      "sex": "",
      "name": "",
      "mutations": [
        "",
        "",
        "",
        ""
      ],
      "parent_mutations": [
        "",
        "",
        "",
        ""
      ],
      "elder_mutations": [
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        ""
      ],
      "state": "delivered",
      "receipt": {
        "dino_id": "3c9e0f6b2a1d4e5f8a7b6c5d4e3f2a1b",
        "species": "BP_Tyrannosaurus_C",
        "label": "Tyrannosaurus",
        "growth_pct": 100,
        "prime": false
      }
    }
  ],
  "created_at": 1761955200000,
  "finished_at": 1761955200412
}
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/deliveries" \
  -H "Authorization: Bearer $SEQUENCE_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"steam_id":"string","grants":[{"kind":"points","amount":0,"species":"string","growth_pct":0,"prime":false,"entomb":0,"sex":"female","name":"string","mutations":[null],"parent_mutations":[null],"elder_mutations":[null],"item":"bundle","skin_id":"string","uses":0,"tier":0,"days":0}],"note":"string"}'

Try it

Add your site and key at the top.

GET/api/v1/deliveries/{delivery_id}

One delivery

Needs economy, garage, shops or players (read or act).

Parameters

delivery_id *path · stringthe delivery's id

Answers

200OK
{
  "id": "dlv_5f0c2d1e9a7b4c3d2e1f0a9b",
  "object": "delivery",
  "state": "delivered",
  "steam_id": "76561199000000000",
  "note": "order 1042",
  "key_name": "Store",
  "grants": [
    {
      "kind": "points",
      "amount": 500,
      "state": "delivered",
      "receipt": {
        "amount": 500,
        "balance_after": 1700
      }
    },
    {
      "kind": "dino",
      "species": "BP_Tyrannosaurus_C",
      "growth_pct": 100,
      "prime": false,
      "entomb": 0,
      "sex": "",
      "name": "",
      "mutations": [
        "",
        "",
        "",
        ""
      ],
      "parent_mutations": [
        "",
        "",
        "",
        ""
      ],
      "elder_mutations": [
        "",
        "",
        "",
        "",
        "",
        "",
        "",
        ""
      ],
      "state": "delivered",
      "receipt": {
        "dino_id": "3c9e0f6b2a1d4e5f8a7b6c5d4e3f2a1b",
        "species": "BP_Tyrannosaurus_C",
        "label": "Tyrannosaurus",
        "growth_pct": 100,
        "prime": false
      }
    }
  ],
  "created_at": 1761955200000,
  "finished_at": 1761955200412
}
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/deliveries/{delivery_id}" \
  -H "Authorization: Bearer $SEQUENCE_KEY"

Try it

Add your site and key at the top.