Receive Webhook
curl --request POST \
--url https://api.stover.app/v1/webhooks/receive/{webhook_key} \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.stover.app/v1/webhooks/receive/{webhook_key}"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.stover.app/v1/webhooks/receive/{webhook_key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.stover.app/v1/webhooks/receive/{webhook_key}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.stover.app/v1/webhooks/receive/{webhook_key}"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.stover.app/v1/webhooks/receive/{webhook_key}")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stover.app/v1/webhooks/receive/{webhook_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {}
}{
"error": "<string>",
"message": "<string>"
}Webhooks
Incoming Webhooks
Receive external webhooks from third-party services.
POST
/
v1
/
webhooks
/
receive
/
{webhook_key}
Receive Webhook
curl --request POST \
--url https://api.stover.app/v1/webhooks/receive/{webhook_key} \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.stover.app/v1/webhooks/receive/{webhook_key}"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.stover.app/v1/webhooks/receive/{webhook_key}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.stover.app/v1/webhooks/receive/{webhook_key}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.stover.app/v1/webhooks/receive/{webhook_key}"
payload := strings.NewReader("{}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.stover.app/v1/webhooks/receive/{webhook_key}")
.header("Content-Type", "application/json")
.body("{}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stover.app/v1/webhooks/receive/{webhook_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {}
}{
"error": "<string>",
"message": "<string>"
}This is a public endpoint. No authentication required.
Setup
- Go to Settings > Webhooks > Incoming in your dashboard
- Create a new webhook and copy the URL
- Configure your external service to send data to that URL
Example
curl -X POST https://api.stover.app/v1/webhooks/receive/wh_abc123 \
-H "Content-Type: application/json" \
-d '{
"event": "form_submitted",
"name": "John Doe",
"email": "[email protected]"
}'
const response = await fetch('https://api.stover.app/v1/webhooks/receive/wh_abc123', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
event: 'form_submitted',
name: 'John Doe',
email: '[email protected]'
})
});
import requests
response = requests.post(
'https://api.stover.app/v1/webhooks/receive/wh_abc123',
headers={
'Content-Type': 'application/json'
},
json={
'event': 'form_submitted',
'name': 'John Doe',
'email': '[email protected]'
}
)
Integrations
Works with Zapier, Make, n8n, and any service that can send HTTP POST requests.⌘I