Skip to content

Authentication

Send your API key in the X-API-Key header when calling the API.

The guides and API reference are public. Your API key authenticates requests from your application.

Store your key in a server-side environment variable named VOYGR_API_KEY. Include it in each API request:

Terminal window
--header "X-API-Key: $VOYGR_API_KEY"

The examples in each guide show where to add this header. Include your key when sending requests from your application.

  • 401 Unauthorized: Check that you sent the header and that the key is correct and active.
  • 403 Forbidden: Your key does not have access to the requested operation. Contact support if you need access.

Keep keys out of client-side code, URLs, and public repositories. If a key is exposed, contact support to replace it.

Need a key or help with access? Get an API key or email support@voygr.tech.