API Overview

Build custom integrations with the tahc REST API.

The tahc API is coming soon! We're building a powerful REST API that will let you create custom integrations and automate workflows.

What's Coming

The tahc API will enable you to build custom integrations, automate workflows, and extend tahc's functionality.

Planned Capabilities

  • Read conversations and messages
  • Send messages programmatically
  • Manage contacts and their data
  • Receive webhooks for real-time events
  • Access analytics data
  • Configure settings via API

API Features

When the API launches, you'll have access to:

  • RESTful endpoints with JSON responses
  • Bearer token authentication
  • Comprehensive webhook events
  • Rate limiting with clear headers
  • Full documentation with code examples

Example Preview

Here's a preview of what API requests will look like:

Example request
curl -X GET "https://app.tahc.ai/api/v1/conversations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
Example response
{
"data": [
  {
    "id": "conv_123",
    "visitor_email": "[email protected]",
    "status": "open",
    "created_at": "2025-01-15T14:30:00Z"
  }
],
"meta": {
  "total": 42,
  "page": 1,
  "per_page": 20
}
}

Planned Endpoints

Conversations

MethodEndpointDescription
GET/conversationsList all conversations
GET/conversations/:idGet single conversation
POST/conversations/:id/messagesSend a message
PATCH/conversations/:idUpdate conversation

Contacts

MethodEndpointDescription
GET/contactsList all contacts
GET/contacts/:idGet single contact
POST/contactsCreate contact
PATCH/contacts/:idUpdate contact
DELETE/contacts/:idDelete contact

Knowledge Base

MethodEndpointDescription
GET/knowledgeList articles
POST/knowledgeAdd article
DELETE/knowledge/:idRemove article

Analytics

MethodEndpointDescription
GET/analytics/overviewDashboard metrics
GET/analytics/conversationsConversation stats

Webhooks (Planned)

Receive real-time notifications for events:

EventDescription
conversation.createdNew conversation started
conversation.escalatedAI escalated to human
conversation.closedConversation ended
message.receivedNew message from visitor
contact.createdNew contact added

Get Notified

Want to know when the API is available?

  • Follow us on social media for updates
  • Check back on this page
  • Contact [email protected] to join the beta list

Available Now

While the API is in development, you can use these integrations today:

Next Steps

Was this helpful?