HARDCORE AAA

API Reference

Integrate with the Hardcore AAA platform programmatically.

Base URL

https://api.hardcoreaaa.com/api

Authentication

All API requests require authentication via one of two methods:

API Key

Pass your API key in the X-API-Key header.

curl -H "X-API-Key: your_api_key" \
  https://api.hardcoreaaa.com/api/operator/health

JWT Bearer Token

Use a Supabase JWT token in the Authorization header.

curl -H "Authorization: Bearer your_jwt_token" \
  https://api.hardcoreaaa.com/api/operator/health

Endpoints

Operator

POST/operator/chat

Send a message to the AI operator. Auto-routes through orchestrator.

POST/operator/qualify

Run lead qualification on a contact.

GET/operator/agents

List available AI agents.

GET/operator/health

Health check endpoint.

Users

GET/users/:id

Get user profile by ID.

PUT/users/:id

Update user profile.

Sessions

GET/sessions

List all sessions for the authenticated user.

POST/sessions

Create a new session.

GET/sessions/:id

Get session details.

Memory

GET/memory

Retrieve agent memory entries.

POST/memory

Create a new memory entry.

DELETE/memory/:id

Delete a memory entry.

Agents

GET/agents

List all configured agents.

POST/agents

Create a new agent.

GET/agents/:id

Get agent details.

PUT/agents/:id

Update agent configuration.

DELETE/agents/:id

Delete an agent.

WebSocket

WS/ws/realtime/{session_id}

Real-time session communication.

WS/ws/agents/{agent_id}

Real-time agent interaction.

Example: Send a Message

curl -X POST https://api.hardcoreaaa.com/api/operator/chat \
  -H "Content-Type: application/json" \
  -H "X-API-Key: your_api_key" \
  -d '{
    "message": "I need help qualifying a lead",
    "session_id": "optional_session_id"
  }'

Response:

{
  "response": "I can help with that. What information do you have about the lead?",
  "agent": "orchestrator",
  "session_id": "sess_abc123"
}

Need an API key?

Start with your automation audit to get platform access and API credentials.

Get Your Audit