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
Accounts
    List accountsgetGet an accountget
Analytics
    Get bulk post analyticsgetGet post analyticsgetGet analytics overviewgetGet account analyticsgetGet best posting timesget
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 commentpostDelete a commentdeleteGet next conversationget
Automations
    List automationsgetCreate an automationpostGet an automationgetDelete an automationdeleteUpdate an automationpatchList automation eventsget
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

List webhooks › Responses

200

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", "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

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.

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

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", "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}

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", "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}

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}

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
is_active
​boolean

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", "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

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." }
json
application/json

ApprovalsLocations