Test application webhook
Sends a test event to the webhook endpoint configured for the given webhook. The application must belong to the authenticated merchant.
curl -X POST "https://api.example.com/api/v1/applications/example_string/webhooks/example_string/test" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN (JWT)"
import requests
import json
url = "https://api.example.com/api/v1/applications/example_string/webhooks/example_string/test"
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)"
}
response = requests.post(url, headers=headers)
print(response.json())
const response = await fetch("https://api.example.com/api/v1/applications/example_string/webhooks/example_string/test", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_TOKEN (JWT)"
}
});
const data = await response.json();
console.log(data);
package main
import (
"fmt"
"net/http"
)
func main() {
req, err := http.NewRequest("POST", "https://api.example.com/api/v1/applications/example_string/webhooks/example_string/test", nil)
if err != nil {
panic(err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_API_TOKEN (JWT)")
client := &http.Client{}
resp, err := client.Do(req)
if err != nil {
panic(err)
}
defer resp.Body.Close()
fmt.Println("Response Status:", resp.Status)
}
require 'net/http'
require 'json'
uri = URI('https://api.example.com/api/v1/applications/example_string/webhooks/example_string/test')
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = true
request = Net::HTTP::Post.new(uri)
request['Content-Type'] = 'application/json'
request['Authorization'] = 'Bearer YOUR_API_TOKEN (JWT)'
response = http.request(request)
puts response.body
{
"success": true,
"httpStatusCode": 200,
"responseBody": "{"ok":true}",
"latencyMs": 142,
"deliveredAt": "2026-04-10T08:05:00.000Z"
}
{
"error": "Unauthorized",
"message": "Authentication required. Please provide a valid API token",
"code": 401
}
{
"error": "Forbidden",
"message": "You don't have permission to access this resource",
"code": 403
}
{
"message": "Application '00000000-0000-4000-8000-000000000099' not found",
"statusCode": 404
}
{
"message": "Webhook configuration not found",
"error": "Not Found",
"statusCode": 404
}
{
"message": "Internal Server Error",
"statusCode": 500
}
{
"error": "Error",
"message": "Service temporarily unavailable.",
"code": 502
}
{
"error": "Error",
"message": "Request timed out.",
"code": 504
}
/api/v1/applications/{applicationId}/webhooks/{webhookId}/testTarget server for requests. Edit to use your own host.
Bearer token (JWT) - just enter the token, "Bearer" prefix will be added automatically
ID of the application that owns the webhook.
ID of the webhook to test.
Request Preview
Response
Response will appear here after sending the request
Authentication
Bearer token (JWT). Authentication token required.
Path Parameters
ID of the application that owns the webhook.
ID of the webhook to test.
Responses
Whether the merchant endpoint responded with a 2xx status.
HTTP status code returned by the merchant endpoint, or null on network failure.
First 1024 characters of the merchant response body, or null on network failure.
Round-trip latency in milliseconds.
ISO 8601 timestamp when the delivery was initiated.