Send Test Event
curl --request POST \
--url https://www.trysignalbase.com/api/v2/webhooks/{id}/test \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.trysignalbase.com/api/v2/webhooks/{id}/test"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.trysignalbase.com/api/v2/webhooks/{id}/test', 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://www.trysignalbase.com/api/v2/webhooks/{id}/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.trysignalbase.com/api/v2/webhooks/{id}/test"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://www.trysignalbase.com/api/v2/webhooks/{id}/test")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.trysignalbase.com/api/v2/webhooks/{id}/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"success": true,
"delivery_id": "9c8b7a65-4d3e-4f21-8a0b-1c2d3e4f5a60",
"event_id": "1f2e3d4c-5b6a-4790-8a1b-2c3d4e5f6071",
"event_type": "system.test",
"response_status": 200,
"response_body": "ok"
},
"meta": {
"endpoint": "webhooks.test",
"creditsUsed": 0
}
}{
"success": false,
"error": "Invalid API key. No key found.",
"code": "invalid_api_key"
}{
"success": false,
"error": "Subscription expired. Please upgrade your subscription: https://www.trysignalbase.com/#pricing",
"code": "subscription_expired"
}{
"success": false,
"error": "Webhook not found",
"code": "not_found"
}{
"success": false,
"error": "Too many requests. Please upgrade your plan or slow down.",
"code": "rate_limited",
"retryAfter": 60
}{
"success": false,
"error": "An unknown error occurred",
"code": "internal_error"
}Endpoints
Send Test Event
Deliver a signed system.test event to the webhook’s endpoint immediately, without waiting for a real signal, and record it as a delivery. The request body is ignored. Returns the delivery outcome. Free (0 credits).
POST
/
webhooks
/
{id}
/
test
Send Test Event
curl --request POST \
--url https://www.trysignalbase.com/api/v2/webhooks/{id}/test \
--header 'Authorization: Bearer <token>'import requests
url = "https://www.trysignalbase.com/api/v2/webhooks/{id}/test"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch('https://www.trysignalbase.com/api/v2/webhooks/{id}/test', 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://www.trysignalbase.com/api/v2/webhooks/{id}/test",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://www.trysignalbase.com/api/v2/webhooks/{id}/test"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://www.trysignalbase.com/api/v2/webhooks/{id}/test")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.trysignalbase.com/api/v2/webhooks/{id}/test")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"success": true,
"delivery_id": "9c8b7a65-4d3e-4f21-8a0b-1c2d3e4f5a60",
"event_id": "1f2e3d4c-5b6a-4790-8a1b-2c3d4e5f6071",
"event_type": "system.test",
"response_status": 200,
"response_body": "ok"
},
"meta": {
"endpoint": "webhooks.test",
"creditsUsed": 0
}
}{
"success": false,
"error": "Invalid API key. No key found.",
"code": "invalid_api_key"
}{
"success": false,
"error": "Subscription expired. Please upgrade your subscription: https://www.trysignalbase.com/#pricing",
"code": "subscription_expired"
}{
"success": false,
"error": "Webhook not found",
"code": "not_found"
}{
"success": false,
"error": "Too many requests. Please upgrade your plan or slow down.",
"code": "rate_limited",
"retryAfter": 60
}{
"success": false,
"error": "An unknown error occurred",
"code": "internal_error"
}Authorizations
Signalbase API key. Include as a Bearer token in the Authorization header.
Path Parameters
The webhook subscription ID.
⌘I
