OmniSocialsOmniSocials
DocumentationAPI reference
Help centerSupport
  • Documentation
  • API reference
Developers
  • Quickstart
  • API reference
  • SDKs
  • MCP server
  • CLI
For AI agents
  • Docs for AI agents
  • llms.txt
  • OpenAPI spec
  • Postman collection
Product
  • OmniSocials
  • Pricing
  • Changelog
  • Help center
Company
  • Support
  • Privacy policy
  • Terms of service

© 2026 OmniSocials

OmniSocials on GitHubOmniSocials on XOmniSocials on LinkedIn
Information
Posts
    List postsgetList live platform postsgetGet a postgetDelete a postdeleteUpdate a postpatchCreate a postpostCreate and publish postpostPublish a post nowpostRetry failed postpostApprove a postpostReject a postpostGet approval reviewget
Media
    List mediagetGet a media itemgetDelete a media itemdeleteRename or move mediapatchUpload a filepostUpload from base64postUpload from a URLpostCreate an upload URLpostSplit a PDF into pagespostCheck media limitspostUpload with a tokenpost
Folders
    List foldersgetCreate a folderpostDelete a folderdeleteRename or move a folderpatch
Hashtag Sets
    List hashtag setsgetCreate a hashtag setpostGet a hashtag setgetDelete a hashtag setdeleteUpdate a hashtag setpatch
Tags
    List tagsgetCreate a tagpostDelete a tagdeleteUpdate a tagpatchTag posts in bulkpost
Accounts
    List accountsgetGet an accountgetChange how often X statistics are checkedpatch
Analytics
    Get bulk post analyticsgetGet post analyticsgetCompare tagsgetGet analytics overviewgetGet account analyticsgetGet best posting timesgetCheck the X numbers of a post now ("Update now")post
Credits
    Credit balance and X statisticsget
Approvals
    List approval workflowsget
Webhooks
    List webhooksgetCreate a webhookpostGet a webhookgetDelete a webhookdeleteUpdate a webhookpatchRotate webhook secretpost
Locations
    Search locationsgetValidate a locationget
Audio
    Search Instagram audioget
Pinterest
    List product PinsgetCheck a product Pinget
Inbox
    List conversationsgetList messagesgetMark conversation readpostReply to a conversationpostHide or unhide a commentpostLike or unlike a commentpostDelete a commentdeleteGet next conversationget
Automations
    List automationsgetCreate an automationpostGet an automationgetDelete an automationdeleteUpdate an automationpatchList automation eventsgetGet automation resultsgetGet one person's storyget
Feature requests
    List what OmniSocials cannot dogetList your feature requestsgetSend a feature requestpostGet a feature requestget
Schemas
OmniSocials API
OmniSocials API

Webhooks

Download schema

Manage webhook subscriptions for real-time events (post.scheduled, post.published, post.failed, post.approved, post.rejected). Deliveries are signed with HMAC-SHA256.


List webhooks

GET
https://api.omnisocials.com/v1
/webhooks

Lists the webhooks of the key's workspace and the organisation-wide webhooks of its organisation (workspace_id null, made in the OmniSocials dashboard). The key's creator needs permission to manage the API in that organisation.

List webhooks › Responses

List of webhooks

​Webhook[]
GET/webhooks
curl "https://api.omnisocials.com/v1/webhooks" \ -H "Authorization: Bearer $OMNISOCIALS_API_KEY"
Example Responses
{ "data": [ { "id": "74327072-ec54-473c-837f-63b29187ac16", "workspace_id": 1234, "url": "https://example.com/webhooks/omnisocials", "events": [ "post.scheduled" ], "is_active": true, "last_triggered_at": "2026-10-21T09:00:07.000Z", "failure_count": 0, "last_failure": { "at": "2026-10-18T07:42:31.000Z", "status": 404, "error": "Endpoint responded with HTTP 404", "attempts": 4 }, "created_at": "2026-09-30T12:00:00.000Z" } ] }
json
application/json

Create a webhook

POST
https://api.omnisocials.com/v1
/webhooks

Creates a webhook in the key's workspace that receives the chosen events at an HTTPS URL on a public host. The answer carries the signing secret once: save it to check the HMAC-SHA256 signature of each delivery. An organisation has at most 100 webhooks (409 webhook_limit_reached).

Create a webhook › Request Body

url
​string · uri · required

HTTPS URL to receive events. Must resolve to a public host; private, loopback, link-local and unresolvable hosts are rejected with validation_error. Deliveries go to this exact URL and follow no redirect (a 3xx answer is a failed delivery).

Example: https://example.com/webhooks/omnisocials
events
​string[] · required
Enum values:
post.scheduled
post.published
post.failed
post.approved
post.rejected
x_statistics.paused
x_statistics.resumed

Create a webhook › Responses

Webhook created. The secret is only returned once at creation.

​object
message
​string
POST/webhooks
curl -X POST "https://api.omnisocials.com/v1/webhooks" \ -H "Authorization: Bearer $OMNISOCIALS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "url": "https://example.com/omnisocials/webhook", "events": ["post.published", "post.failed"] }'
Example Request Body
{ "url": "https://example.com/webhooks/omnisocials", "events": [ "post.scheduled" ] }
json
Example Responses
{ "data": { "id": "74327072-ec54-473c-837f-63b29187ac16", "workspace_id": 1234, "url": "https://example.com/webhooks/omnisocials", "events": [ "post.scheduled" ], "is_active": true, "last_triggered_at": "2026-10-21T09:00:07.000Z", "failure_count": 0, "last_failure": { "at": "2026-10-18T07:42:31.000Z", "status": 404, "error": "Endpoint responded with HTTP 404", "attempts": 4 }, "created_at": "2026-09-30T12:00:00.000Z", "secret": "159ba257854f3f71a9b363b04367862705c72e3ed4cd746ecc11274f5c88291e" }, "message": "Webhook created. Save the secret - it will only be shown once. Use it to verify webhook signatures." }
json
application/json

Get a webhook

GET
https://api.omnisocials.com/v1
/webhooks/{id}

A webhook of the key's workspace or an organisation-wide webhook of its organisation.

Get a webhook › path Parameters

id
​string · required

Get a webhook › Responses

Webhook details

​Webhook
GET/webhooks/{id}
curl "https://api.omnisocials.com/v1/webhooks/4f6c2b1e-8a3d-4c7e-9b2f-1d5e6a7c8b90" \ -H "Authorization: Bearer $OMNISOCIALS_API_KEY"
Example Responses
{ "data": { "id": "74327072-ec54-473c-837f-63b29187ac16", "workspace_id": 1234, "url": "https://example.com/webhooks/omnisocials", "events": [ "post.scheduled" ], "is_active": true, "last_triggered_at": "2026-10-21T09:00:07.000Z", "failure_count": 0, "last_failure": { "at": "2026-10-18T07:42:31.000Z", "status": 404, "error": "Endpoint responded with HTTP 404", "attempts": 4 }, "created_at": "2026-09-30T12:00:00.000Z" } }
json
application/json

Delete a webhook

DELETE
https://api.omnisocials.com/v1
/webhooks/{id}

Deletes a webhook of the key's workspace or an organisation-wide webhook of its organisation.

Delete a webhook › path Parameters

id
​string · required

Delete a webhook › Responses

Webhook deleted

No data returned
DELETE/webhooks/{id}
curl -X DELETE "https://api.omnisocials.com/v1/webhooks/4f6c2b1e-8a3d-4c7e-9b2f-1d5e6a7c8b90" \ -H "Authorization: Bearer $OMNISOCIALS_API_KEY"
Example Responses
No example specified for this content type

Update a webhook

PATCH
https://api.omnisocials.com/v1
/webhooks/{id}

Works on a webhook of the key's workspace or an organisation-wide webhook of its organisation. Setting url or events, or switching the webhook on, makes the key's creator the person behind the webhook. Before each delivery OmniSocials checks that this person still has access to the organisation (and to Ads for Ads events), and switches the webhook off when not. A change of url, events or a switch-on of a webhook that has Ads events after the change needs the ads:read scope and access to Ads (403 insufficient_scope or insufficient_permission otherwise). A new url on an organisation-wide webhook (workspace_id null) makes it a webhook of the key's workspace, so it then receives only that workspace's events; the answer shows the new workspace_id. To keep a webhook organisation-wide, make it in the OmniSocials dashboard.

Update a webhook › path Parameters

id
​string · required

Update a webhook › Request Body

url
​string · uri
events
​string[]
Enum values:
post.scheduled
post.published
post.failed
post.approved
post.rejected
x_statistics.paused
x_statistics.resumed
is_active
​boolean

true switches the webhook on again (also after an automatic switch-off) and resets failure_count.

Example: true

Update a webhook › Responses

Webhook updated

​Webhook
PATCH/webhooks/{id}
curl -X PATCH "https://api.omnisocials.com/v1/webhooks/4f6c2b1e-8a3d-4c7e-9b2f-1d5e6a7c8b90" \ -H "Authorization: Bearer $OMNISOCIALS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"is_active": false}'
Example Request Body
{ "url": "https://example.com/webhooks/omnisocials", "events": [ "post.scheduled" ], "is_active": true }
json
Example Responses
{ "data": { "id": "74327072-ec54-473c-837f-63b29187ac16", "workspace_id": 1234, "url": "https://example.com/webhooks/omnisocials", "events": [ "post.scheduled" ], "is_active": true, "last_triggered_at": "2026-10-21T09:00:07.000Z", "failure_count": 0, "last_failure": { "at": "2026-10-18T07:42:31.000Z", "status": 404, "error": "Endpoint responded with HTTP 404", "attempts": 4 }, "created_at": "2026-09-30T12:00:00.000Z" } }
json
application/json

Rotate webhook secret

POST
https://api.omnisocials.com/v1
/webhooks/{id}/rotate-secret

Returns a new signing secret, shown once. The old secret keeps signing for 24 hours: during that time every delivery carries X-OmniSocials-Signature (new secret) and X-OmniSocials-Signature-Previous (old secret, same format, same timestamp and body), so the receiver keeps accepting deliveries while it switches to the new secret. Accept a delivery when either signature matches a secret you hold. Rotating again within the 24 hours replaces the previous secret with the one just rotated out. Works on a webhook of the key's workspace or an organisation-wide webhook of its organisation.

Rotate webhook secret › path Parameters

id
​string · required

Rotate webhook secret › Responses

New secret generated. Save it now. It is shown only once.

​object
message
​string
POST/webhooks/{id}/rotate-secret
curl -X POST "https://api.omnisocials.com/v1/webhooks/4f6c2b1e-8a3d-4c7e-9b2f-1d5e6a7c8b90/rotate-secret" \ -H "Authorization: Bearer $OMNISOCIALS_API_KEY"
Example Responses
{ "data": { "id": "74327072-ec54-473c-837f-63b29187ac16", "secret": "159ba257854f3f71a9b363b04367862705c72e3ed4cd746ecc11274f5c88291e" }, "message": "Secret rotated. Save the new secret - it will only be shown once. For 24 hours deliveries also carry X-OmniSocials-Signature-Previous, signed with the old secret." }
json
application/json

ApprovalsLocations