Update Social Engagement Signal
curl --request POST \
--url https://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"signalId": "<string>",
"isEnabled": true
}
'import requests
url = "https://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal"
payload = {
"signalId": "<string>",
"isEnabled": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({signalId: '<string>', isEnabled: true})
};
fetch('https://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal', 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://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'signalId' => '<string>',
'isEnabled' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal"
payload := strings.NewReader("{\n \"signalId\": \"<string>\",\n \"isEnabled\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.post("https://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"signalId\": \"<string>\",\n \"isEnabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"signalId\": \"<string>\",\n \"isEnabled\": true\n}"
response = http.request(request)
puts response.read_body{
"summary": "<string>",
"signalId": "<string>",
"flowPlanId": "<string>",
"signal": {
"id": "<string>",
"name": "<string>",
"engagementType": "<string>",
"isSystem": true,
"isEnabled": true,
"isUnlocked": true,
"flowPlanId": "<string>",
"flowPlan": {
"id": "<string>",
"name": "<string>",
"isDraft": true
}
},
"warnings": [
"<string>"
],
"nextSteps": [
"<string>"
],
"uiLinks": [
{
"label": "<string>",
"url": "<string>",
"reason": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}Social Engagement
Update Social Engagement Signal
Requires the admin team role or global admin access. Check get_current_user.toolAccess before calling.
Read get_guide with topic=social_engagement before using this tool; reuse it if already read for the current request.
Detailed usage guidance
- Updates one Social Engagement signal by required signalId.
- Currently supports only isEnabled: enables or deactivates collection for the selected signal.
- Requires team admin access; enabling requires paid or trial access.
- Deactivation retains its profiles and history; other signals retain their state, and existing enrollments and their actions continue.
- Enabling resumes eligible active profiles subject to access and credits; paused profiles remain paused.
- Collection and pending requested history can consume FirstTouch credits, even while the linked flow is draft.
- Does not publish or change the linked Flow Plan, delete or rename the signal, or change its tracking mode.
POST
/
api
/
public
/
tools
/
update_social_engagement_signal
Update Social Engagement Signal
curl --request POST \
--url https://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"signalId": "<string>",
"isEnabled": true
}
'import requests
url = "https://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal"
payload = {
"signalId": "<string>",
"isEnabled": True
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({signalId: '<string>', isEnabled: true})
};
fetch('https://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal', 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://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'signalId' => '<string>',
'isEnabled' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal"
payload := strings.NewReader("{\n \"signalId\": \"<string>\",\n \"isEnabled\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.post("https://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"signalId\": \"<string>\",\n \"isEnabled\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.firsttouch.ai/api/public/tools/update_social_engagement_signal")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"signalId\": \"<string>\",\n \"isEnabled\": true\n}"
response = http.request(request)
puts response.read_body{
"summary": "<string>",
"signalId": "<string>",
"flowPlanId": "<string>",
"signal": {
"id": "<string>",
"name": "<string>",
"engagementType": "<string>",
"isSystem": true,
"isEnabled": true,
"isUnlocked": true,
"flowPlanId": "<string>",
"flowPlan": {
"id": "<string>",
"name": "<string>",
"isDraft": true
}
},
"warnings": [
"<string>"
],
"nextSteps": [
"<string>"
],
"uiLinks": [
{
"label": "<string>",
"url": "<string>",
"reason": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}{
"error": "<string>",
"message": "<string>",
"traceId": "<string>"
}Authorizations
Body
application/json
Signal ID from list_social_engagement_signals or create_social_engagement_signal.
Required enabled state for the selected signal: false deactivates collection; true resumes eligible active profiles and can consume FirstTouch credits. Other signals retain their own state.