Skip to content

API reference

API: Embeds

Markdown version

MethodPathWhat it doesScope
GET/v1/embedsEmbeds (tokens are never shown again)security:write
POST/v1/embedsEmbed a canvas, a work queue, a live agent's chat or a public form in another tool (owners; the token is shown once) (web app only)security:write
DELETE/v1/embeds/:idRevoke an embed (it stops working at once)security:write

Examples

GET /v1/embeds

Embeds (tokens are never shown again)

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

DELETE /v1/embeds/$ID

Revoke an embed (it stops working at once)

curl -s -X DELETE "https://api.closefinch.com/v1/embeds/$ID" \
  -H "Authorization: Bearer $RA_API_KEY"
const res = await fetch(`https://api.closefinch.com/v1/embeds/${id}`, {
  method: "DELETE",
  headers: { authorization: `Bearer ${process.env.RA_API_KEY}` },
});
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.