post
https://{subdomain}.td.commpeak.com/api/comments/mass-comments
Add several comments to campaign leads in a single request.
When to use. Create many comments at once instead of calling Create comment repeatedly. Each item is validated and stored independently, so one invalid item does not stop the others from being created.
Parameters. Send an array of comment objects. Each object needs creator_user_id, campaign_lead_id and body, and the referenced user and campaign lead must already exist.
Returns. { "comments": [ ... ] } with one result per submitted item. Each result carries a success field: true when the comment was created, returned alongside its id and created_at, or a message explaining why the item was rejected.
Example.
[
{
"creator_user_id": "100",
"campaign_lead_id": "1234",
"body": "first comment"
},
{
"creator_user_id": "100",
"campaign_lead_id": "1235",
"body": "second comment"
}
]Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…