API reference
API explorer
Pick an endpoint, fill in its parameters and see the exact request in cURL, JavaScript and Python. With your own API key you can also send it and read the real response.
Requests here are live
QRBold has no sandbox. A request you send from this page acts on the real account your key belongs to: a POST creates a real card or code, a DELETE removes one. Nothing is sent until you press Send.
POST/campaigns/CAMPAIGN_ID/cards/test
Runs a payload through the campaign exactly as the real endpoint would, and creates nothing. Needs the cards:write scope.
The same body you would send to the real endpoint: your own JSON in mapped mode, a card document in native mode.
The code for this request
Updates as you type. It reads the key from an environment variable; the key you paste below is never put into it.
curl -X POST "https://api.qrbold.com/api/public/v1/campaigns/CAMPAIGN_ID/cards/test" \
-H "Authorization: Bearer $QRBOLD_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"employee": {
"id": "EMP-1001",
"name": {
"first": "Ada",
"last": "Lovelace"
},
"contact": {
"email": "ada@example.com"
}
}
}'Send it from this browser
Kept in this page’s memory only, and sent only to the QRBold API in the Authorization header. It is not stored, not logged and not sent to any other server. Reloading the page clears it. Use a key with only the scopes you need, and revoke it afterwards if you created it for testing.
Paste an API key to send the request.
You do not need a key to use the explorer as a request builder. If you would rather work in a dedicated tool, download the Postman collection. New here? Start with the quickstart.