Snakk AI - Voice Agent Platform API
  1. Agents
Snakk AI - Voice Agent Platform API
  • System
    • Simple health check
      GET
    • Detailed health check with dependency status
      GET
  • Tenants
    • Create new tenant (signup)
      POST
  • Agents
    • List all agents for tenant
      GET
    • Create new agent
      POST
    • Get agent details
      GET
    • Delete agent
      DELETE
  • Tools
    • List tools/webhooks for agent
      GET
    • Add tool/webhook to agent
      POST
  • Calls
    • Start outbound call from database agent
      POST
    • Start outbound call with ad-hoc agent config (JSON)
      POST
  • Phone Numbers
    • List your phone numbers
      GET
    • Available numbers to claim
      GET
    • Claim a number from pool
      POST
    • Assign number to agent
      POST
    • Unassign number from agent
      POST
    • Release number (return to pool)
      POST
  • Statistics
    • Dashboard overview
      GET
    • Daily usage statistics
      GET
    • Monthly usage statistics
      GET
  • Subscription
    • Current subscription
      GET
    • Available plans
      GET
    • Request plan upgrade
      POST
  • Web Access
    • Generate web widget token
  • AI Tools
    • AI Prompt Generator
  • Account
    • Your account info
    • Regenerate API key
  • Platform Admin
    • Platform-wide overview (admin only)
  • Schemas
    • Tenant
    • Agent
    • Call
  1. Agents

Create new agent

POST
/api/agents
Creates a new voice agent. After creation, add tools/webhooks via POST /api/agents/{agentId}/tools endpoint.

Request

Authorization
API Key
Add parameter in header
X-API-Key
Example:
X-API-Key: ********************
or
Body Params application/jsonRequired

Examples

Responses

🟢201Success
application/json
Agent created successfully. Next: Add phone number and tools.
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://snakk-backend-production.up.railway.app/api/agents' \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Support Agent",
    "description": "Handles customer support inquiries",
    "instructions": "Du er en hjelpsom support agent. Du snakker norsk og hjelper kunder med spørsmål.",
    "voice": "marin",
    "language": "no",
    "recording_enabled": true,
    "transfer_enabled": false,
    "transfer_number": "+4795837050"
}'
Response Response Example
{
    "agent": {
        "id": "agent-uuid",
        "tenant_id": "tenant-uuid",
        "name": "Support Agent",
        "is_active": true,
        "created_at": "2025-11-23T10:00:00Z"
    }
}
Modified at 2025-11-30 23:12:05
Previous
List all agents for tenant
Next
Get agent details
Built with