v1
latestOpenAPI 3.0.12026-07-226992320.0 KBIntegrations
Create Integration
Registers a new third-party integration for your account. Supply the provider type (e.g. shopify, cal_com) along with an optional friendly name and description. Returns the created integration including its integrationId, which is required for all subsequent auth and tool operations.
post/v1/integrations
Request body
Example request
{
"name": "Shopify",
"description": "Handles order lookups for the support agent"
}Response
Created
Example response
{
"integrationId": "intg_AuUKK371Spr5",
"name": "My Shopify Store",
"description": "Handles order lookups and customer data retrieval",
"authentication": {
"authId": "auth_P3kNz7Yv1Qm9",
"integrationId": "intg_AuUKK371Spr5",
"authType": "API_KEY"
},
"tools": [
{
"toolId": "tool_X9pLm2Wq8Rt3",
"integrationId": "intg_AuUKK371Spr5",
"name": "get_order_details",
"description": "Fetches order details from Shopify by order ID. Call this tool when you need to retrieve order status, line items, or shipping info.",
"method": "GET",
"url": "https://my-store.myshopify.com/admin/api/2024-01/orders/{{orderId}}.json",
"scope": "local",
"headers": {
"customer_name": "Michael",
"account_id": "ACC-001"
},
"queryParams": {
"customer_name": "Michael",
"account_id": "ACC-001"
},
"bodyParams": {
"customer_name": "Michael",
"account_id": "ACC-001"
},
"createdAt": "2024-04-20T10:00:00.000Z",
"updatedAt": "2024-04-21T08:30:00.000Z"
}
],
"createdAt": "2024-04-20T10:00:00.000Z",
"updatedAt": "2024-04-21T08:30:00.000Z"
}