create_or_update_record
Create a record in an ActiveCampaign custom object schema. Accepts fields, relationships, and identifiers to add new data. Repeated calls may create duplicates.
Instructions
🟡 WRITE · creates data · Custom Objects · POST /customObjects/records/{schemaId}
Create or update record
Creates a new record. Not idempotent — calling twice may create duplicates.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schemaId": "<schemaId>"
},
"name": "create_or_update_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (application/json). | |
| schemaId | Yes | ID of schema |