{"openapi":"3.0.3","info":{"title":"Conversion Router","version":"1.0.0","description":"Send server-side conversion events from your backend. The API key picks the website. source_url picks the Meta pixel. You do not send a Pixel ID or a Meta access token."},"servers":[{"url":"https://tracker.sabtrack.com"}],"paths":{"/api/v1/events":{"post":{"operationId":"sendEvent","summary":"Send a conversion event","security":[{"bearerApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object"},"examples":{"real":{"value":{"event_name":"CompleteRegistration","event_id":"registration_123456","event_time":1793952000,"source_url":"https://reddybooks.win/?utm_source=%7B%7Bsite_source_name%7D%7D&utm_medium=paid_social&utm_campaign=%7B%7Bcampaign.name%7D%7D&campaign_id=%7B%7Bcampaign.id%7D%7D&adset_name=%7B%7Badset.name%7D%7D&adset_id=%7B%7Badset.id%7D%7D&ad_name=%7B%7Bad.name%7D%7D&ad_id=%7B%7Bad.id%7D%7D&placement=%7B%7Bplacement%7D%7D&utm_account=reddyfashion&fbclid=PAQk9Dexample"}},"test":{"value":{"event_name":"CompleteRegistration","event_id":"connection_test_1","event_time":1793952000,"source_url":"https://reddybooks.win/?utm_source=%7B%7Bsite_source_name%7D%7D&utm_medium=paid_social&utm_campaign=%7B%7Bcampaign.name%7D%7D&campaign_id=%7B%7Bcampaign.id%7D%7D&adset_name=%7B%7Badset.name%7D%7D&adset_id=%7B%7Badset.id%7D%7D&ad_name=%7B%7Bad.name%7D%7D&ad_id=%7B%7Bad.id%7D%7D&placement=%7B%7Bplacement%7D%7D&utm_account=reddyfashion&fbclid=PAQk9Dexample","test_event":true}}}}}},"responses":{"200":{"description":"This event_name and event_id were already accepted. Nothing new is sent to Meta."},"202":{"description":"Stored, not sent to Meta, because the page URL could not be matched to a pixel. Tell us the event_id and source_url."},"400":{"description":"A required field is missing or the wrong type. details lists the fields. Fix and resend. You may reuse the same event_id."},"401":{"description":"The API key is missing, wrong, or revoked."},"422":{"description":"event_time is in milliseconds, older than 7 days, or too far in the future. Send seconds."},"429":{"description":"Slow down. Wait the number of seconds in Retry-After, then send the same body. Limit is 600 requests per minute, with a short burst of 60 per second."},"503":{"description":"Not stored. Retry the same body."}}}}},"components":{"securitySchemes":{"bearerApiKey":{"type":"http","scheme":"bearer","description":"Website API key, ctk_…"}}}}