Add mention

Adds a public mention to a project by hand, as the Add mentions manually form does.

POST https://cotlet.dev/api/v1/brand24/projects/{project_id}/mentions

write

Brand24 counts the entry in the Analysis dashboard statistics from then on. Only public mentions can be added. It reaches no one and delete_mentions removes the entry, so it does not wait for your OK.

Parameters

Parameters: add_mention
NameTypeDescription
project_id integer required integer Project ID from list_projects.
url string required string Entry address: the URL of the post.
title string required string Entry title, or part of the mention.
content string required string Content of the mention.
category string required string Entry category, as the form lists it.
sentiment string required string Sentiment: positive, neutral or negative.
created_at string required string Date the entry was created, YYYY-MM-DD.

Request

cURL
curl -X POST https://cotlet.dev/api/v1/brand24/projects/1/mentions \
  -H "Authorization: Bearer $COTLET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","title":"title","content":"content","category":"category","sentiment":"sentiment","created_at":"created at"}'
Python
result = client.call("brand24", "add_mention", {"project_id":1,"url":"https://example.com","title":"title","content":"content","category":"category","sentiment":"sentiment","created_at":"created at"})
Node.js
const result = await cotlet.call('brand24', 'add_mention', {"project_id":1,"url":"https://example.com","title":"title","content":"content","category":"category","sentiment":"sentiment","created_at":"created at"});
CLI
cotlet call brand24 add_mention --data '{"project_id":1,"url":"https://example.com","title":"title","content":"content","category":"category","sentiment":"sentiment","created_at":"created at"}'

Example response

JSON

{
  "mention_id": "7001234599",
  "status": "added",
  "sentiment": "neutral"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.