How to get git hub push events using curl

I need to fetch all push events in my remote repo for my organization with curl or git api. I cannot use the web hook feature in GitHub because my webhook server is running behind a firewall.So cannot call my webhook url.i need to get the webhook payload using curl

when i try:-


getting all events like push and create,i only need push events