API reference
API: Karlsense: AI visibility
| Method | Path | What it does | Scope |
|---|---|---|---|
| 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 | marketing:read |
| 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 | marketing:read |
| POST | /v1/marketing/visibility/suggestions/:id/accept | Accept 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/dismiss | Dismiss a suggestion; it isn't suggested again | marketing:write |
| 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 | marketing: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.