Once an address and a signing secret are saved in Settings, PitwallWP, Pitlane sends events for clients linked to a site. They are queued and sent about once a minute.
- post.published and post.failed
- approval.needed, approval.approved and approval.changes_requested
- plan.behind: a client is behind its monthly plan
- test and integration.disconnected
Each request is a POST with the headers Pitlane-Event, Pitlane-Delivery (a unique id, to ignore duplicates) and Pitlane-Signature. The signature is t=unix seconds, v1=hex, where v1 is an HMAC-SHA256 of "t.raw body" with your secret. Check it, and reject old timestamps.
{ "id": "d9f...", "type": "post.failed", "created": 1764860405,
"client": { "id": "k3j...", "name": "Quinta do Sol", "externalId": "wp-site-42" },
"data": { "postId": "p1", "network": "FACEBOOK", "error": { "message": "..." } } }Answer with any 2xx within 10 seconds. Otherwise Pitlane retries after 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours, then marks it failed. Settings shows the last 50 deliveries.
Still stuck? Write to support@pitlanesocial.com.