Call it
curl https://api.peume.com/v1/call/update-leadconnector-account-settings \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"accountId": "your accountId"
}
}'const res = await fetch("https://api.peume.com/v1/call/update-leadconnector-account-settings", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"accountId": "your accountId"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/update-leadconnector-account-settings",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"accountId": "your accountId"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: update-leadconnector-account-settings.
Parameters
accountIdRequiredstringrelayConversionsbooleanRelay LeadConnector CRM events (new contacts, won opportunities, appointments, paid invoices and orders) as conversions with `source` `gohighlevel`.
writeBackAttributionbooleanWrite each relayed conversion onto the ` Conversions` custom field of the LeadConnector contact.
reportToAdsbooleanAlso forward relayed conversions to the profile's ad platform destinations. Off stores them only.
syncContactsbooleanMatch inbox contacts to LeadConnector contacts (phone, then email) and create the ones that do not exist.
logMessagesbooleanLog inbox messages from every channel on the matched LeadConnector contact, one note per channel and UTC day.
logDeliveryStatusbooleanMark sent, delivered, read and failed on logged outgoing messages.
syncAdLeadsbooleanCreate or update a LeadConnector contact for every lead from the profile's ad network lead forms (Meta, TikTok, LinkedIn, Google), tagged with the network, campaign and form.
mirrorConversationsbooleanPut Telegram, LINE, WeChat, iMessage and RCS messages into the contact's Conversations thread under the channel, so a LeadConnector user reads and answers them there. Off logs them as notes.
