English
English
Appearance
English
English
Appearance
API keys let you access the badges.ninja REST API programmatically. Use them to automate badge creation, awarding, and management from your own applications.




API keys use the bws_ prefix followed by a 32-character hex string:
bws_a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6Include the API key in the X-Api-Key header of every API request:
curl -X GET https://api.badges.ninja/issuers \
-H "X-Api-Key: bws_your_api_key_here"See the Authentication page for full details on API authentication.
The number of API keys you can create depends on your plan:
| Plan | API Key Limit |
|---|---|
| Free | 1 |
| Starter ($9/mo) | 5 |
| Pro ($29/mo) | 20 |

Once deleted, the key immediately stops working. Any applications using that key will receive authentication errors.