curl --request PATCH \
--url https://api.talqing.com/v1/integrations/{integration_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"allowed_tools": [
"<string>"
],
"credentials_ref": "<string>",
"display_name": "<string>",
"mcp_config": {},
"metadata": {},
"provider_account_info": {},
"tools_namespace": "<string>",
"webhook_config": {}
}
'import requests
url = "https://api.talqing.com/v1/integrations/{integration_id}"
payload = {
"allowed_tools": ["<string>"],
"credentials_ref": "<string>",
"display_name": "<string>",
"mcp_config": {},
"metadata": {},
"provider_account_info": {},
"tools_namespace": "<string>",
"webhook_config": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
allowed_tools: ['<string>'],
credentials_ref: '<string>',
display_name: '<string>',
mcp_config: {},
metadata: {},
provider_account_info: {},
tools_namespace: '<string>',
webhook_config: {}
})
};
fetch('https://api.talqing.com/v1/integrations/{integration_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.talqing.com/v1/integrations/{integration_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'allowed_tools' => [
'<string>'
],
'credentials_ref' => '<string>',
'display_name' => '<string>',
'mcp_config' => [
],
'metadata' => [
],
'provider_account_info' => [
],
'tools_namespace' => '<string>',
'webhook_config' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.talqing.com/v1/integrations/{integration_id}"
payload := strings.NewReader("{\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"credentials_ref\": \"<string>\",\n \"display_name\": \"<string>\",\n \"mcp_config\": {},\n \"metadata\": {},\n \"provider_account_info\": {},\n \"tools_namespace\": \"<string>\",\n \"webhook_config\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.talqing.com/v1/integrations/{integration_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"credentials_ref\": \"<string>\",\n \"display_name\": \"<string>\",\n \"mcp_config\": {},\n \"metadata\": {},\n \"provider_account_info\": {},\n \"tools_namespace\": \"<string>\",\n \"webhook_config\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.talqing.com/v1/integrations/{integration_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"credentials_ref\": \"<string>\",\n \"display_name\": \"<string>\",\n \"mcp_config\": {},\n \"metadata\": {},\n \"provider_account_info\": {},\n \"tools_namespace\": \"<string>\",\n \"webhook_config\": {}\n}"
response = http.request(request)
puts response.read_body{
"allowed_tools": [
"<string>"
],
"auth_type": "oauth",
"capabilities": {
"adds_agent_tools": false,
"attachable_as_mcp": false,
"trigger_types": [
"telegram.message.inbound"
],
"triggers": [
{
"agent_channel": "text",
"description": "<string>",
"title": "<string>",
"trigger_type": "telegram.message.inbound"
}
]
},
"created_at": "2023-11-07T05:31:56Z",
"credentials_ref": "<string>",
"display_name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"logo_url": "<string>",
"mcp_config": {},
"metadata": {},
"provider": "custom_mcp",
"provider_account_info": {},
"provider_label": "<string>",
"status": "active",
"tools_namespace": "",
"updated_at": "2023-11-07T05:31:56Z",
"webhook_config": {},
"webhook_setup": {
"callback_url": "<string>",
"delivery_status": "waiting",
"last_received_at": "2023-11-07T05:31:56Z"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}Patch Integration
Update an integration. Omitted fields are left unchanged.
Sending credentials_ref rotates the credential. Only active integrations
can be attached to agents or serve triggers.
allowed_tools replaces the approved list wholesale: exactly those tools
become callable by every agent this integration is attached to. It cannot be
emptied — an agent that should call nothing is an integration that should be
disabled.
region, on a WhatsApp number, moves where its calls are answered.
curl --request PATCH \
--url https://api.talqing.com/v1/integrations/{integration_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"allowed_tools": [
"<string>"
],
"credentials_ref": "<string>",
"display_name": "<string>",
"mcp_config": {},
"metadata": {},
"provider_account_info": {},
"tools_namespace": "<string>",
"webhook_config": {}
}
'import requests
url = "https://api.talqing.com/v1/integrations/{integration_id}"
payload = {
"allowed_tools": ["<string>"],
"credentials_ref": "<string>",
"display_name": "<string>",
"mcp_config": {},
"metadata": {},
"provider_account_info": {},
"tools_namespace": "<string>",
"webhook_config": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
allowed_tools: ['<string>'],
credentials_ref: '<string>',
display_name: '<string>',
mcp_config: {},
metadata: {},
provider_account_info: {},
tools_namespace: '<string>',
webhook_config: {}
})
};
fetch('https://api.talqing.com/v1/integrations/{integration_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.talqing.com/v1/integrations/{integration_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'allowed_tools' => [
'<string>'
],
'credentials_ref' => '<string>',
'display_name' => '<string>',
'mcp_config' => [
],
'metadata' => [
],
'provider_account_info' => [
],
'tools_namespace' => '<string>',
'webhook_config' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.talqing.com/v1/integrations/{integration_id}"
payload := strings.NewReader("{\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"credentials_ref\": \"<string>\",\n \"display_name\": \"<string>\",\n \"mcp_config\": {},\n \"metadata\": {},\n \"provider_account_info\": {},\n \"tools_namespace\": \"<string>\",\n \"webhook_config\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.talqing.com/v1/integrations/{integration_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"credentials_ref\": \"<string>\",\n \"display_name\": \"<string>\",\n \"mcp_config\": {},\n \"metadata\": {},\n \"provider_account_info\": {},\n \"tools_namespace\": \"<string>\",\n \"webhook_config\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.talqing.com/v1/integrations/{integration_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"allowed_tools\": [\n \"<string>\"\n ],\n \"credentials_ref\": \"<string>\",\n \"display_name\": \"<string>\",\n \"mcp_config\": {},\n \"metadata\": {},\n \"provider_account_info\": {},\n \"tools_namespace\": \"<string>\",\n \"webhook_config\": {}\n}"
response = http.request(request)
puts response.read_body{
"allowed_tools": [
"<string>"
],
"auth_type": "oauth",
"capabilities": {
"adds_agent_tools": false,
"attachable_as_mcp": false,
"trigger_types": [
"telegram.message.inbound"
],
"triggers": [
{
"agent_channel": "text",
"description": "<string>",
"title": "<string>",
"trigger_type": "telegram.message.inbound"
}
]
},
"created_at": "2023-11-07T05:31:56Z",
"credentials_ref": "<string>",
"display_name": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"logo_url": "<string>",
"mcp_config": {},
"metadata": {},
"provider": "custom_mcp",
"provider_account_info": {},
"provider_label": "<string>",
"status": "active",
"tools_namespace": "",
"updated_at": "2023-11-07T05:31:56Z",
"webhook_config": {},
"webhook_setup": {
"callback_url": "<string>",
"delivery_status": "waiting",
"last_received_at": "2023-11-07T05:31:56Z"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}{
"detail": {
"errors": [
"<string>"
],
"message": "<string>",
"code": "<string>"
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
11 - 2001 - 163841 - 120active, disabled, needs_reconnect, error ^$|^[a-z][a-z0-9_]{0,23}$Response
Successful Response
Public API representation of an integration (HTTP + CoPilot).
oauth, manual Complete capabilities projection — always the same shape for every provider.
Derived from ProviderSpec at response time; never stored in the DB.
Show child attributes
Show child attributes
custom_mcp, google_calendar, cal_com, calendly, asana, jira, hubspot, exa, tavily, resend, rocketreach, telegram, whatsapp active, disabled, needs_reconnect, error Where the provider delivers, and whether anything has arrived yet.
Talqing registers this URL with the provider when a trigger is enabled. A Gupshup WhatsApp integration's URL carries its token.
Show child attributes
Show child attributes