Skip to content

Custom webhook

Brainpercent can POST a signed event to your endpoint when you publish, update or unpublish an article to your own website. Other jobs do not call you; you poll them.

01Article events

Connect your site in the app (Connections, Websites, Add website, Send to your site) with an https endpoint. Events: article.published, article.updated, article.unpublished, test. Each is signed with HMAC-SHA256 and retried on failure. Headers, body, verification code and retry rules are in Webhooks and async jobs.

  1. YouPublish in the appPublish, update or unpublish an article.
  2. BrainpercentSends a signed POSTOne event, signed with HMAC-SHA256.
  3. Your endpointChecks and answersA 5xx or a timeout is retried.

02Everything else: poll

Article generation, social posts, publishing results and credit changes do not send webhooks. POST https://www.brainpercent.app/api/v1/articles/generate or /social/generate, then GET the poll_url until the job is done, and forward the result wherever you need it (Slack, Notion, a CMS). That fan-out runs on your side.