The Veltrix API is a REST API that returns JSON. All requests must be made over HTTPS.
Authenticate by generating an API key from Dashboard → API Keys, then pass it as a bearer token:
Authorization: Bearer vlx_xxxxxxxxxxxxxxxxxxxx
Returns account and plan status for the authenticated key. Useful for confirming your integration is wired up correctly.
curl https://www.apitest.craftingpaint.com/api/v1/ping \
-H "Authorization: Bearer vlx_xxxxxxxxxxxxxxxxxxxx"$ch = curl_init("https://www.apitest.craftingpaint.com/api/v1/ping");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["Authorization: Bearer vlx_xxx"]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);fetch("https://www.apitest.craftingpaint.com/api/v1/ping", {
headers: { Authorization: "Bearer vlx_xxx" }
}).then(r => r.json()).then(console.log);import requests
r = requests.get(
"https://www.apitest.craftingpaint.com/api/v1/ping",
headers={"Authorization": "Bearer vlx_xxx"}
)
print(r.json())Example response:
{
"status": "ok",
"plan": "standard",
"requests_remaining": 98421
}
| Code | Meaning |
|---|---|
| 401 | Missing or invalid API key |
| 402 | Plan inactive or payment past due |
| 429 | Rate limit exceeded for current plan |
| 500 | Unexpected server error |
Each plan has a monthly request ceiling shown on the pricing page. Exceeding it returns HTTP 429 until your next billing cycle, or you can upgrade instantly from your dashboard.