Skip to content
Docs

The Zapier app

CitedSEO has an app on Zapier with three instant triggers: Article Published, Article Updated and Article Removed. Each gives a Zap the whole article, with the same fields as the feed. To use it, open the CitedSEO app on Zapier from Settings › Publishing in CitedSEO.

This page describes the API the app calls, for Zapier’s review and for anyone curious. Your own code doesn’t need it: use the feed and webhooks instead.

The app signs in with OAuth 2, using the authorization code grant with PKCE, against CitedSEO’s own OAuth server:

Issuer https://app.citedseo.ai/api/auth
Authorize https://app.citedseo.ai/api/auth/oauth2/authorize
Token https://app.citedseo.ai/api/auth/oauth2/token
Scopes openid email offline_access citedseo:read
Resource https://citedseo.ai/mcp

You sign in to CitedSEO as you do in the app, and CitedSEO asks whether Zapier may read your sites. An access token lasts 15 minutes, and Zapier refreshes it with its refresh token. Disconnect on Zapier under Settings › Connected apps takes the sign-in back and turns off its triggers.

GEThttps://api.citedseo.ai/v1/zapier

Every request sends the access token as Authorization: Bearer <token>. Only the Zapier app’s tokens are accepted. An error is JSON, { "error": { "code", "message" } }: 401 asks Zapier to sign in again, 403 is a token this API doesn’t take, 404 is a site you can’t see, 409 is an address already in use, and 422 is a request that doesn’t check out.

Request What it does
GET /me Who signed in: { id, email, name }. Zapier names the connection by the email.
GET /sites The sites you can see, [{ id, domain }], for the Site dropdown.
POST /hooks Turns a trigger on. The body is { siteId, event, url }, where event is article_published, article_updated or article_removed and url is Zapier’s hook address on hooks.zapier.com. It answers 201 with { id }.
DELETE /hooks/{id} Turns a trigger off. It answers 204, even when the hook was already gone.
GET /sites/{id}/articles The site’s three newest live articles, as the feed serves them, for a Zap’s sample. Empty when nothing is live.

When an article goes live, changes or is taken down, CitedSEO posts the webhook event to each hook that takes it. The app gives the Zap that event’s article with its fields laid flat: id, title, url, slug, description, html, markdown, cover_url, cover_alt, author_name, published_at and modified_at. When a Zap is deleted, Zapier answers 410 at its address, and CitedSEO stops sending to it.