Send emails, sms, chat and app notifications with a POST request!
curl -X POST https://api-bytepost.bytebeacon.com/RESOURCE_TOKEN -H "Authorization: Bearer AUTH_TOKEN" -H "Content-Type: application/json"
import requests
headers = {"Authorization": "Bearer AUTH_TOKEN"}
resp = requests.post("https://api-bytepost.bytebeacon.com/RESOURCE_TOKEN", headers=headers)
From your favorite networking library:Send a POST request @ https://api-bytepost.bytebeacon.com/RESOURCE_TOKEN
with bearer token authorization header (AUTH_TOKEN) !
import axios from 'axios'
const data = {}
const headers = {"Authorization": "Bearer AUTH_TOKEN"}
axios.post('https://api-bytepost.bytebeacon.com/RESOURCE_TOKEN', data, headers)
.then(function (response) {console.log(response);})
.catch(function (error) {console.log(error);});
Replace RESOURCE_TOKEN and AUTH_TOKEN with tokens generated for you
We allow metadata to be sent in the request body. This is used to slice and dice logs and customize the notifications to be sent. More on this in our documentation!
GET will fetch back analytics for your triggered notifications. More information coming soon on this.
We have plans to use some other verbs for granular control over how notifications are triggered and recorded. We would love to work with early adopters to try the flow out!