Skip to main content
This guide walks you through creating an API key, making your first request, and understanding the response format.

Step 1: Create an API Key

  1. Log in to the TalkPilot Dashboard
  2. Navigate to Settings > API
  3. Click Create API Key
  4. Choose a name, set permissions, and optionally restrict to specific agents
  5. Copy the key — it’s only shown once
Your key looks like this:

Step 2: Make your first request

Test your key with the health endpoint (no authentication required):
Response:
Now list your agents using your API key:
Response:

Step 3: Understand the response format

Success responses

All list endpoints return a data array and a pagination object:
Single-resource endpoints return the object directly:

Error responses

All errors follow a consistent structure:
Validation errors include field-level details:

Step 4: Common operations

Update an employee’s status

Get recent calls

Enable vacation mode for an agent

Next steps