curl -X POST https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "success",
"deliveries_enqueued": 1
}'
import requests
url = "https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test"
headers = {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
"Content-Type": "application/json",
}
payload = {
"status": "success",
"deliveries_enqueued": 1
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
const response = await fetch("https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test", {
method: "POST",
headers: {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"status": "success",
"deliveries_enqueued": 1
}),
});
const data = await response.json();
console.log(data);
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
payload := []byte(`{
"status": "success",
"deliveries_enqueued": 1
}`)
req, _ := http.NewRequest("POST", "https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test", bytes.NewBuffer(payload))
req.Header.Set("Authorization", "Bearer YOUR_THINNESTAI_API_KEY")
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"status": "success",
"deliveries_enqueued": 1
}
Webhooks
Test Webhook
Send a test event to verify your endpoint is reachable.
POST
/
webhooks
/
endpoints
/
{endpoint_id}
/
test
curl -X POST https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "success",
"deliveries_enqueued": 1
}'
import requests
url = "https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test"
headers = {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
"Content-Type": "application/json",
}
payload = {
"status": "success",
"deliveries_enqueued": 1
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
const response = await fetch("https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test", {
method: "POST",
headers: {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"status": "success",
"deliveries_enqueued": 1
}),
});
const data = await response.json();
console.log(data);
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
payload := []byte(`{
"status": "success",
"deliveries_enqueued": 1
}`)
req, _ := http.NewRequest("POST", "https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test", bytes.NewBuffer(payload))
req.Header.Set("Authorization", "Bearer YOUR_THINNESTAI_API_KEY")
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
{
"status": "success",
"deliveries_enqueued": 1
}
curl -X POST https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test \
-H "Authorization: Bearer $THINNESTAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"status": "success",
"deliveries_enqueued": 1
}'
import requests
url = "https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test"
headers = {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
"Content-Type": "application/json",
}
payload = {
"status": "success",
"deliveries_enqueued": 1
}
response = requests.post(url, headers=headers, json=payload)
print(response.json())
const response = await fetch("https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test", {
method: "POST",
headers: {
"Authorization": "Bearer " + "YOUR_THINNESTAI_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
"status": "success",
"deliveries_enqueued": 1
}),
});
const data = await response.json();
console.log(data);
package main
import (
"bytes"
"fmt"
"io"
"net/http"
)
func main() {
payload := []byte(`{
"status": "success",
"deliveries_enqueued": 1
}`)
req, _ := http.NewRequest("POST", "https://api.thinnest.ai/webhooks/endpoints/{endpoint_id}/test", bytes.NewBuffer(payload))
req.Header.Set("Authorization", "Bearer YOUR_THINNESTAI_API_KEY")
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)
if err != nil { panic(err) }
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}
Path Parameters
Webhook endpoint ID
Response
{
"status": "success",
"deliveries_enqueued": 1
}
{
"event": "webhook.test",
"timestamp": "2026-03-16T10:30:00.000Z",
"data": {
"message": "This is a test webhook from ThinnestAI",
"endpoint_id": 1
}
}
⌘I

