curl --request POST \
--url https://api.peakmetrics.com/customChannels/{channelId}/mentions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"mentions": [
{
"title": "<string>",
"text": "<string>",
"author": "<string>",
"published": "2024-01-15T14:30:45.123Z",
"url": "<string>",
"thumbnailUrl": "<string>"
}
]
}
'{
"message": "Mentions are queued up for ingestion",
"count": 123
}Add mentions to a custom channel. All mentions must pass validation before being accepted for ingestion, after which they are queued up for asynchronous processing.
You may submit up to 100 mentions per request.
PeakMetrics secures custom channel data by segregating it from other channel data while in processing and in storage.
curl --request POST \
--url https://api.peakmetrics.com/customChannels/{channelId}/mentions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"mentions": [
{
"title": "<string>",
"text": "<string>",
"author": "<string>",
"published": "2024-01-15T14:30:45.123Z",
"url": "<string>",
"thumbnailUrl": "<string>"
}
]
}
'{
"message": "Mentions are queued up for ingestion",
"count": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier for the custom channel.
An array of mentions to be added to the custom channel.
100Show child attributes
Was this page helpful?