Skip to content

API reference

API: Partners and investors

Markdown version

MethodPathWhat it doesScope
GET/v1/account-mentionsAccounts named on watched pages, newest first, with the quote, page, dates, type and whether the account is a customeraccounts:read
DELETE/v1/mention-watch-pages/:idStop watching a pageaccounts:write
GET/v1/mention-watchesWatched partners, agencies and investors with their pages and how many accounts they nameaccounts:read
POST/v1/mention-watchesWatch a partner, agency or investor (name, kind and its own domain)accounts:write
DELETE/v1/mention-watches/:idStop watching (its mentions stay as history)accounts:write
PATCH/v1/mention-watches/:idRename a watch, change its kind or notesaccounts:write
POST/v1/mention-watches/:id/pagesWatch a public page on the entity's own domain (portfolio, case studies, customers, press; no query strings)accounts:write
POST/v1/mention-watches/checkRead watched pages now (one watch, or all of them) and record which accounts they nameaccounts:write

Examples

GET /v1/account-mentions

Accounts named on watched pages, newest first, with the quote, page, dates, type and whether the account is a customer

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

DELETE /v1/mention-watch-pages/$ID

Stop watching a page

curl -s -X DELETE "https://api.closefinch.com/v1/mention-watch-pages/$ID" \
  -H "Authorization: Bearer $RA_API_KEY"
const res = await fetch(`https://api.closefinch.com/v1/mention-watch-pages/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}` },
});
const data = await res.json();

GET /v1/mention-watches

Watched partners, agencies and investors with their pages and how many accounts they name

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

POST /v1/mention-watches

Watch a partner, agency or investor (name, kind and its own domain)

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

DELETE /v1/mention-watches/$ID

Stop watching (its mentions stay as history)

curl -s -X DELETE "https://api.closefinch.com/v1/mention-watches/$ID" \
  -H "Authorization: Bearer $RA_API_KEY"
const res = await fetch(`https://api.closefinch.com/v1/mention-watches/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}` },
});
const data = await res.json();

PATCH /v1/mention-watches/$ID

Rename a watch, change its kind or notes

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

POST /v1/mention-watches/$ID/pages

Watch a public page on the entity's own domain (portfolio, case studies, customers, press; no query strings)

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

POST /v1/mention-watches/check

Read watched pages now (one watch, or all of them) and record which accounts they name

curl -s -X POST "https://api.closefinch.com/v1/mention-watches/check" \
  -H "Authorization: Bearer $RA_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
const res = await fetch(`https://api.closefinch.com/v1/mention-watches/check`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();

Request and response schemas: https://www.closefinch.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.