Skip to main content
The REST API lets your own code export a project’s data (prompts, every AI response with its brand mentions and sources, and daily visibility and share of voice), read its articles, mark them published, and track external URLs for AI citation attribution. Webhooks tell your code when an article is ready for review or has been published. Set it up in Integrations → Project REST API (v1). Each API key belongs to one project. To work across all your projects, or from an AI assistant, use the MCP server. The two kinds of key aren’t interchangeable.

Create an API key

  1. Go to Integrations → Project REST API (v1).
  2. Click Create API Key.
  3. Copy the key shown under Your API Key. It won’t be shown again.
Keys start with cf_. A project has one key at a time. Regenerate (the refresh icon) replaces it and the old key stops working immediately. Remove (the trash icon) revokes it. Viewers can’t manage keys or webhooks. Keep the key in a secret store, out of version control and client-side code.

Authentication

Send the key in either header:
An ?api_key=YOUR_API_KEY query parameter also works, but prefer a header.

Base URL

Rate limit

Each API key allows 100 requests per minute. All of your keys and connected apps also share 300 requests a minute, across this API, the platform API and MCP. Over either limit, requests fail with 429 Too Many Requests, a Retry-After header with the seconds to wait, and an error message saying which limit you reached.

Endpoints

List articles

Lists the project’s articles in one status, newest first.
Response:
content is HTML. metadata is free-form, so don’t rely on its shape.

Get one article

Fetches one article by ID or slug, in any status.
The response is a data object with the same fields as the list. It returns 404 if no article in the project matches.

Mark an article published

This marks the article published in ChatFeatured (and on a live Blog CMS). It doesn’t send it to a connected CMS such as WordPress or Webflow. Put the article live on your site first, then call this with the live URL.
Only articles in review or approved can be published. Any other status returns 400, including one that’s already published. Optional JSON body:
Response:
Publishing also sends the article.published webhook if you’ve turned it on.

Track external content

Tracks a URL you published somewhere else, a LinkedIn post for example, so AI citations of it count toward your project. Tracked URLs appear in the Content impact widget on the dashboard.
Response (201):
Returns 409 if the URL is already tracked or linked to an article.

List tracked content

Lists the project’s tracked URLs, most recently added first. Takes limit (default 20, maximum 100) and offset.
The response is a data array with the same fields as above, plus the pagination object.

Project data

These endpoints return the data behind your dashboard, so you can keep a copy or check our figures yourself. They need an active ChatFeatured plan; without one they return 403. A response is one AI answer: one prompt asked on one platform in one country on one collection date. Each day, ChatFeatured asks every active prompt once on each platform you track, in each country set on the prompt. A platform tracked weekly is asked once a week. The prompt is asked exactly as written, in its own language, and the platform sees the request coming from that country. Claude and Grok are asked through their APIs, which have no location, so country doesn’t change their answers. Muse is asked through its API too, but its web search is told the country. Dates are collection dates in YYYY-MM-DD form. Platform values are chatgpt, perplexity, google-ai-mode, gemini, bing-copilot-search, grok, claude and muse. copilot still returns Copilot’s history, but Copilot is no longer tracked, so it has no answers after it was replaced by Bing Copilot Search. Countries are two-letter codes such as DE. Like the dashboard, these endpoints leave out paused prompts. Add includePaused=true to include their history.

List prompts

Lists the project’s prompts, paused ones included, oldest first.

List responses

Lists AI responses, oldest collection date first, up to 500 per page. Pass nextCursor from each page as cursor to get the next one; it’s null on the last page. A day’s responses keep arriving until about a day after its collection date. For a complete export, set to to two days ago and fetch newer dates on your next run. Within that range, paging returns each response once.
  • text is the response as the platform displayed it, in Markdown when the platform sent it.
  • provider is the service that asked the platform for us.
  • mentions[].brand is the brand the mention counts toward on your dashboard. role is own (your project), competitor or other. A brand you’ve grouped counts toward its group, as it does on the dashboard, so regrouping changes it for past responses too.
  • mentions[].type is direct when the response names the brand, or citation when the brand only appears in a cited page’s title or URL. Only direct mentions count toward visibility and share of voice.
  • mentions[].rank is where the brand comes among the brands named directly, 1 being first. sentiment runs from 1 to 100; both are null when there’s no value.
  • sources[].role is cited when the response cites the page, or sourced when the platform’s search found it but the response didn’t use it. Only cited pages count in citation figures. position is the page’s place in the platform’s source list.
Brand mentions are extracted from the text by ChatFeatured, and we re-run that extraction when we improve it, so a later export can differ from an earlier one.

Get one response

Fetches one response with its text, mentions and sources, paused prompts’ responses included. It returns 404 if the project has no response with that ID.

Daily metrics

Visibility and share of voice for your project and its competitors, per collection date and platform, with the counts behind them. Add up the counts over any days or platforms and divide to get the dashboard’s figure for that range. The exception is a platform tracked weekly: the dashboard counts its latest answer on every day until the next one, and here it counts only on the day it was asked, so a figure that mixes it with daily platforms can differ.
  • responses counts every response collected.
  • The other counts are of runs, not responses: a run is one runId. Almost every run has one response, but some runs on 2026-10-01 have two, so count distinct runId values when you recompute these from responses.
  • runsInScope counts runs whose response names at least one brand directly. It’s the visibility denominator.
  • runs counts runs whose response names the brand directly. visibility is runs ÷ runsInScope.
  • shareOfVoice is the brand’s runs divided by the sum of runs over your project and its competitors.
  • sentiment is the mean over the brand’s scored direct mentions: sentimentSum ÷ sentimentCount.
  • A value is null when its denominator is 0.

Coverage

What was collected per platform and country: how many responses, over how many prompts and days, and which providers asked. Use it to check the sampling above against what actually ran.

Webhooks

ChatFeatured sends a POST to your URL when an article is ready for review or has been published. This section covers the webhook on this page’s Webhooks card. For endpoints that take any of a project’s events, added under Integrations → Webhooks, see Webhooks.

Set up a webhook

Create an API key first; the Webhooks card appears after.
  1. Go to Integrations → Project REST API (v1).
  2. In Webhooks, enter your Webhook URL.
  3. Optionally enter a Signing Secret (optional). ChatFeatured uses it to sign each request.
  4. Under Events, turn on Article ready for review, Article published, or both.
  5. Click Save Webhook Settings.
Once a URL is saved, Send Test sends a sample article.published payload with placeholder content.

When each event fires

article.review fires when ChatFeatured finishes writing an article and it moves to review. article.published fires every time an article moves to published, however it got there: a CMS or Blog CMS publish from the dashboard or MCP, marking it published by hand, the REST API’s publish endpoint, or a scheduled publish reaching its time.

Payload

Both events send the same shape, with the full article. content is HTML.

Delivery

Each event is sent once. Your endpoint has 10 seconds to answer with a 2xx; otherwise the event is dropped, not retried. Answer quickly and do the work in the background.

Verify the signature

With a signing secret, each request carries an X-Webhook-Signature header: the hex-encoded HMAC-SHA256 of the raw request body, keyed with your secret. Compute it over the raw bytes, before JSON parsing.

Errors

Errors return JSON with an error field:

Example: export all your responses

Page through every response for a project and write them to a file, one JSON object per line.
At 500 responses a page, 100 requests a minute covers 50,000 responses a minute.

Example: publish on your own site

Publish approved articles to your own site, then record each one in ChatFeatured so the live URL is tracked for citations.

Troubleshooting

Check the event is on and you clicked Save Webhook Settings, and that the URL is public and answers with a 2xx within 10 seconds. Send Test shows the status code your endpoint returned.
Last modified on December 1, 2026