CraftPayDocs
API reference

Servers

Your Minecraft servers and whether the plugin is connected.

List servers

GET/v1/servers API key

connected is true when the plugin has checked in within the last two minutes.

Request
curl https://api.craftpay.net/v1/servers \
  -H "Authorization: Bearer cp_sk_..."
Response · 200
{
  "data": [
    {
      "id": "cm3k9xb120005",
      "name": "Survival",
      "connected": true,
      "lastSeenAt": "2026-11-12T09:41:03.000Z"
    }
  ]
}

Stuck? Write to mail@craftpay.net