Authentication

HTTP requests to the API are protected with HTTP Basic authentication.

Endpoint

API ENDPOINT
https://businessapi.badges.xyz

Authentication

The Business API uses API keys to authenticate requests. To request an API key, please contact us at hello@badges.xyz.

Authentication to the API is performed via HTTP Basic Auth. Provide your API key as the basic auth username value. You do not need to provide a password.

If you need to authenticate via bearer auth (e.g., for a cross-origin request), use  -H "Authorization: Bearer E23d1aN95aAtnE3w9QmQyGjBRzu4..."  instead of  -u E23d1aN95aAtnE3w9QmQyGjBRzu4....

AUTHENTICATED REQUEST
$ curl https://businessapi.badges.xyz \
  -u E23d1aN95aAtnE3w9QmQyGjBRzu4...:
# The colon prevents curl from asking for a password.