import requests
url = "http://localhost:3000/v1/integration/{integration_id}"
payload = {
"name": "<string>",
"description": "<string>",
"base_url": "<string>",
"auth_key": "<string>",
"headers": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"base_url": "<string>",
"auth_type": "NONE",
"integration_type": "HTTP",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"auth_key": "<string>",
"headers": {}
}Update an existing integration. For MCP integrations, re-syncs tools if base_url or auth_key changed.
import requests
url = "http://localhost:3000/v1/integration/{integration_id}"
payload = {
"name": "<string>",
"description": "<string>",
"base_url": "<string>",
"auth_key": "<string>",
"headers": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"base_url": "<string>",
"auth_type": "NONE",
"integration_type": "HTTP",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"description": "<string>",
"auth_key": "<string>",
"headers": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Integration ID
Successful Response
Response schema for integration.
NONE, OAUTH, API_KEY Integration type enum
HTTP, MCP