Webhooks
Ping Webhook Endpoint
Send a webhook.ping event to an endpoint now with POST /api/webhooks//ping, to test the URL and the signature check.
POST
/
api
/
webhooks
/
{id}
/
ping
Ping Webhook Endpoint
curl --request POST \
--url https://octanist.com/api/webhooks/{id}/ping \
--header 'X-API-KEY: <api-key>'import requests
url = "https://octanist.com/api/webhooks/{id}/ping"
headers = {"X-API-KEY": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://octanist.com/api/webhooks/{id}/ping', 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://octanist.com/api/webhooks/{id}/ping",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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://octanist.com/api/webhooks/{id}/ping"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://octanist.com/api/webhooks/{id}/ping")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://octanist.com/api/webhooks/{id}/ping")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "<string>",
"eventId": "evt_4f1c2b9e7d6a4c3b8e2f1a0d9c8b7a6e",
"eventType": "lead.status_changed",
"leadId": "<string>",
"status": "pending",
"attempts": 1,
"nextAttemptAt": "2023-11-07T05:31:56Z",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"responseStatus": 200,
"error": null,
"durationMs": 184,
"createdAt": "2023-11-07T05:31:56Z"
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}Sends a signed
Needs an API key with full access. The endpoint must be on.
A ping that failed still returns
webhook.ping event to the endpoint right away and returns how it went. Use it to check your URL and signature verification before real events arrive. Pings are not retried and show up in the delivery log.
The ping’s body:
{
"id": "evt_0c3d2e1f4a5b6c7d8e9f0a1b2c3d4e5f",
"type": "webhook.ping",
"createdAt": "2026-11-30T10:00:00.000Z",
"organizationId": "org_abc123",
"source": { "type": "ping" },
"data": {
"message": "Ping from Octanist. Lead events carry data.lead and, for changes, data.changes."
}
}
Example Request
curl -X POST \
-H "X-API-KEY: your_api_key" \
"https://octanist.com/api/webhooks/9b2f1c4e-6a1d-4f7e-9a51-2c8f0f3d1a77/ping"
Example Response
{
"success": true,
"data": {
"id": "5d0e3b1a-8c2f-4e6d-9a7b-1c0d2e3f4a5b",
"eventId": "evt_0c3d2e1f4a5b6c7d8e9f0a1b2c3d4e5f",
"eventType": "webhook.ping",
"leadId": null,
"status": "succeeded",
"attempts": 1,
"nextAttemptAt": null,
"lastAttemptAt": "2026-11-30T10:00:00.000Z",
"responseStatus": 200,
"error": null,
"durationMs": 184,
"createdAt": "2026-11-30T10:00:00.000Z"
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-11-30T10:00:00.000Z"
}
}
200, with "status": "failed" and the reason in responseStatus and error.⌘I
Ping Webhook Endpoint
curl --request POST \
--url https://octanist.com/api/webhooks/{id}/ping \
--header 'X-API-KEY: <api-key>'import requests
url = "https://octanist.com/api/webhooks/{id}/ping"
headers = {"X-API-KEY": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://octanist.com/api/webhooks/{id}/ping', 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://octanist.com/api/webhooks/{id}/ping",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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://octanist.com/api/webhooks/{id}/ping"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://octanist.com/api/webhooks/{id}/ping")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://octanist.com/api/webhooks/{id}/ping")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "<string>",
"eventId": "evt_4f1c2b9e7d6a4c3b8e2f1a0d9c8b7a6e",
"eventType": "lead.status_changed",
"leadId": "<string>",
"status": "pending",
"attempts": 1,
"nextAttemptAt": "2023-11-07T05:31:56Z",
"lastAttemptAt": "2023-11-07T05:31:56Z",
"responseStatus": 200,
"error": null,
"durationMs": 184,
"createdAt": "2023-11-07T05:31:56Z"
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Human readable error message",
"details": {}
},
"meta": {
"requestId": "req_a1b2c3d4e5f6",
"timestamp": "2026-03-10T12:00:00.000Z"
}
}