Skip to content

API reference

API: Karlsense: AI visibility

Markdown version

MethodPathWhat it doesScope
GET/v1/marketing/visibilityYour AI visibility from Karlsense: how often answers name you against your competitors, and what's suggested from it, each with its Karlsense pagemarketing:read
GET/v1/marketing/visibility/suggestionsSuggestions from your AI visibility in Karlsense: outreach to sources answer engines cite, a brief per topic where competitors are named and you aren't, listening keywords, and Karlsense's recommendationsmarketing:read
POST/v1/marketing/visibility/suggestions/:id/acceptAccept a suggestion (a signed-in person): outreach or a brief becomes a draft in the content studio, a keyword a listening query in Social. Nothing is sent, posted or published (web app only)marketing:write
POST/v1/marketing/visibility/suggestions/:id/dismissDismiss a suggestion; it isn't suggested againmarketing:write
GET/v1/marketing/visibility/targetingWhere to target ads from your AI visibility in Karlsense: the questions where competitors are named and you aren't, and the sources answers cite without you, with how oftenmarketing:read

Examples

GET /v1/marketing/visibility

Your AI visibility from Karlsense: how often answers name you against your competitors, and what's suggested from it, each with its Karlsense page

curl -s "https://api.scheeleworks.com/v1/marketing/visibility" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/marketing/visibility`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

GET /v1/marketing/visibility/suggestions

Suggestions from your AI visibility in Karlsense: outreach to sources answer engines cite, a brief per topic where competitors are named and you aren't, listening keywords, and Karlsense's recommendations

curl -s "https://api.scheeleworks.com/v1/marketing/visibility/suggestions" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/marketing/visibility/suggestions`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

POST /v1/marketing/visibility/suggestions/$ID/dismiss

Dismiss a suggestion; it isn't suggested again

curl -s -X POST "https://api.scheeleworks.com/v1/marketing/visibility/suggestions/$ID/dismiss" \
  -H "Authorization: Bearer $MA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.scheeleworks.com/v1/marketing/visibility/suggestions/${id}/dismiss`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

GET /v1/marketing/visibility/targeting

Where to target ads from your AI visibility in Karlsense: the questions where competitors are named and you aren't, and the sources answers cite without you, with how often

curl -s "https://api.scheeleworks.com/v1/marketing/visibility/targeting" \
  -H "Authorization: Bearer $MA_API_KEY"
const res = await fetch(`https://api.scheeleworks.com/v1/marketing/visibility/targeting`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.MA_API_KEY}` },
});
const data = await res.json();

Request and response schemas: https://www.scheeleworks.com/openapi.json. All resources: API reference.

Send feedback

Tell us what's broken, confusing or missing on this page, or an idea. It goes to the team that builds the product.
Please don't include passwords or card numbers.
Only to reply about this. Never added to any mailing list.