Integrations Endpoints
Configure and manage integrations with external services and third-party platforms.
Overview
Integration endpoints allow you to connect CekatAI with external systems like CRMs, e-commerce platforms, and custom webhooks.
Endpoints Summary
| Method | Endpoint | Description |
|---|---|---|
| GET | /integrations | List all integrations |
| DELETE | /integrations/delete | Delete an integration |
List Integrations
GET/integrations
Retrieve all configured integrations for your account.
bash
curl -X GET "https://api.cekat.ai/integrations" \
-H "Authorization: Bearer YOUR_API_KEY"
Query Parameters
typestring
Filter by integration type: webhook, slack, zapier, shopify, woocommerce
statusstring
Filter by status: active, inactive, error
Response
200 OK
{
"success": true,
"data": [
{
"id": "int_abc123",
"type": "webhook",
"name": "Order Notification Webhook",
"status": "active",
"config": {
"url": "https://example.com/webhook/orders",
"events": ["order.created", "order.updated"],
"secret": "whsec_xxx"
},
"last_triggered": "2025-03-27T10:00:00Z",
"created_at": "2025-01-15T08:00:00Z"
},
{
"id": "int_def456",
"type": "slack",
"name": "Support Notifications",
"status": "active",
"config": {
"channel": "#support",
"events": ["ticket.created", "ticket.assigned"]
},
"created_at": "2025-02-01T10:30:00Z"
}
]
}
Integration Types
| Type | Description | Events |
|---|---|---|
webhook | Custom HTTP endpoints | All events |
slack | Slack channel notifications | Tickets, Messages |
zapier | Zapier integration | All events |
shopify | Shopify store sync | Orders, Customers |
woocommerce | WooCommerce sync | Orders, Products |
Delete Integration
DELETE/integrations/delete
Remove an integration from your account.
Query Parameters
idstring*
The integration ID to delete
bash
curl -X DELETE "https://api.cekat.ai/integrations/delete?id=int_abc123" \
-H "Authorization: Bearer YOUR_API_KEY"
Response
200 OK
{
"success": true,
"message": "Integration deleted successfully"
}
Webhook Integration
Configure webhooks to receive real-time events:
bash
curl -X POST "https://api.cekat.ai/integrations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "webhook",
"name": "Order Webhook",
"config": {
"url": "https://your-server.com/webhook",
"events": ["order.created", "order.updated", "order.cancelled"],
"secret": "your_webhook_secret"
}
}'
