Social Marketing API and webhooks
Read accounts, posts, comments and campaigns, add posts from your own software, and get told when posts go out and comments come in.
(Business plan.) Make a key under Settings > API & webhooks. A key acts as the person who made it, with their role; up to 5,000 calls a day.
Send it as Authorization: Bearer sok_... to https://www.ellibo.com/social-marketing/api.php/v1/...:
| Call | What | ||
|---|---|---|---|
GET /v1/accounts | Connected accounts | ||
GET /v1/posts?state=&from=&to=&campaign_id= | Posts, newest first | ||
GET /v1/posts/{id} | A post with each account's result, numbers and what it brought | ||
POST /v1/posts | `{"text", "account_ids":[...], "when":"draft | now | later", "schedule_at":"YYYY-MM-DD HH:MM", "link", "campaign_id"}` |
| `GET /v1/comments?status=open | done&account_id=` | Comments and mentions | |
GET /v1/campaigns | Campaigns with their totals | ||
GET /v1/summary?from=&to= | Posts, engagement, reach, clicks, leads, sales |
Webhooks
Add an address and choose events: post.published, post.failed, comment.received, lead.created. Each is a signed POST (X-Ellibo-Signature: sha256 HMAC of "timestamp.body"), retried after 1, 5, 30, 120 and 720 minutes.