In that case you'll like Pushover's home page:
https://pushover.net/There's a sample curl command right there on the page.
EDIT: Pushbullet's home page has a link to API docs, and it took 30 seconds to find this: https://docs.pushbullet.com/#create-push