curl --location 'https://api.snakk.ai/api/partner/integrations' \
--header 'Content-Type: application/json' \
--data '{
"slug": "acme-crm",
"name": "Acme CRM",
"description": "Looks up and updates customer records in Acme CRM.",
"category": "crm",
"auth_type": "oauth",
"oauth_config": {
"property1": "string",
"property2": "string"
},
"api_key_config": {
"property1": "string",
"property2": "string"
},
"actions": [
{
"slug": "lookup_customer",
"name": "Look up customer",
"description": "Finds a customer by phone number.",
"usage_context": "both",
"execution_type": "http",
"http_config": {
"url": "https://api.example.com/customers/lookup",
"property1": "string",
"property2": "string"
},
"flow_definition": {
"property1": "string",
"property2": "string"
},
"parameters_schema": {},
"agent_instructions": "string",
"end_of_call_config": {
"property1": "string",
"property2": "string"
},
"mock_response": {
"customer_id": "123",
"name": "Example AS"
}
}
]
}'