Querio

Authentication

Bearer token authentication for the v2 Conversations API

Bearer Token Authentication

All v2 endpoints require a Bearer token in the Authorization header. No client ID or client secret is involved.

Authorization: Bearer <your_token>

Getting Your Token

You will receive your API token during onboarding from the Querio team.

Example Request

curl -X POST https://app.querio.ai/api/v2/embed/{customer_slug}/conversations \
  -H "Authorization: Bearer <your_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "How many shipments happened in the last 30 days",
    "datasourceId": "your_dataset_id",
    "scope": {
      "customer_id": "your_customer_id"
    },
    "environment": "production"
  }'

Error Responses

StatusCodeDescription
401invalid_requestMissing or malformed Authorization header
401invalid_clientInvalid or expired token