Skip to main content

Developer

The Developer section gives you two things: a way to authenticate API traffic to your agents, and a way to see what that traffic did. Both surfaces are workspace-wide and work across every agent type — Agent, Data Agent, and Voice Agent.

SurfaceWhat it isWhen to use
API KeysA secret token (sk_...) whose scopes decide which APIs it can call, optionally limited to specific agentsCalling DronaHQ APIs from your backend, scripts, or third-party tools
Request LogsA 30-day rolling feed of every API request authenticated by your keysDebugging integrations, auditing usage, investigating errors

A typical setup looks like this:

  1. Create an API key with the smallest set of scopes the integration needs.
  2. Use the key from your application, in the Authorization: Bearer header or the api-key header.
  3. When something doesn't behave as expected, open Request Logs and filter by that key to see exactly which calls hit DronaHQ and how they responded.

What you can call with a key​

APIScope neededWhat it does
Voice AgentsVoice agentsCreate, read, update and delete voice agents
Call DataCallsRead your calls, with their transcripts and recordings
Outbound Call DispatchCallsQueue one-off outbound calls and track them as a batch
CampaignsCampaignsCreate, schedule, and control outbound campaigns, and add contacts to them
Phone NumbersPhone numbersList, add, delete and unlink your phone numbers
Knowledge BasesKnowledge basesCreate and delete knowledge bases, and add or remove their text, Q&A and file sources
Structured OutputsStructured outputsCreate, change, copy and delete structured outputs, read the library, and test them against a finished call or chat

Each scope gives the key both read and write access to its API.

These are server-to-server APIs

The api-key header is not on the CORS allow-list, so browsers cannot call these endpoints directly. Call them from your backend — and never ship a key to a browser or mobile client, since a key is a workspace-wide secret.

What's Next​

  • API Keys — create, scope, and manage tokens that authenticate your API calls
  • Request Logs — inspect, filter, and troubleshoot every authenticated request