POST to your URL when a company’s post changes status. There is one event today: a post was published or failed. See Webhook events for every status and field.
Set the URL
Each company has its own URL and secret. Owners, admins and users can set the URL; clients can’t.- In the app
- With the API
1
Open the webhook settings
Select the company, then go to Company settings > Webhooks. Your plan must include the API.
2
Save your URL
Enter your HTTPS endpoint, for example
https://example.com/webhooks/followr.3
Copy the secret
Followr creates it when you first save a URL. Copy it from Webhook Secret to verify requests.
"webhook_posts_url": null. The company keeps its secret for the next URL.
The request
Headers:Content-Type: application/json and X-Company-Secret, the company’s secret (check it on every request). The body is the post as it is when the request is sent:
Respond fast
Don’t rely on webhooks alone. If a post’s request never arrives, read it with
GET /posts/{id}.Ordering and duplicates
Requests are sent in the background, and the body is built at send time. So requests can arrive out of order, show a later status than the change that triggered them, or repeat a body. Store the lastupdated_at you handled per post and ignore older ones. Use id + status + updated_at to skip changes you already processed.
Test your webhook
1
Use a test company
Connect a test social account to a test company, so a real brand’s secret stays private.
2
Receive the requests
Point its webhook at a request inspector (a request bin URL) or at your local server through a tunnel such as ngrok.
3
Trigger a change
Publish a post now, or schedule one a few minutes ahead.
Security
- The secret is 32 letters and digits, unique to the company.
- It travels in a header on every request: use an
https://URL and don’t log headers. - You can’t rotate it. Saving the URL again keeps the same secret. If it leaks, contact support.
- Every member of the company can read the secret, whatever their role. Keep the company’s team list current.
Webhook events
Every status and payload field.
Verify webhook requests
Check the secret in Node.js, Python and PHP.
