Skip to main content

Authenticating Your Requests

All requests to the Venturu API must be authenticated using a bearer token. This ensures that only authorized applications can access the API.

API Key Format

Your API key is a secret token that you will receive during the onboarding process. You must include your key in the Authorization header with every API request. The value must be prefixed with Bearer .
Authorization: Bearer YOUR_API_KEY

Handling Errors

If your API key is missing, malformed, or invalid, the API will return a 401 Unauthorized status code.
Response: 401 Unauthorized
{
  "status": "error",
  "error": "Unauthorized"
}
If you receive this error, double-check that you have correctly copied your API key and included the Bearer prefix.
Now that you understand authentication, let’s make your first API call.