Send an endpoint a ping event
POST
/v1/webhooks/{webhook}/ping
const url = 'https://example.com/v1/webhooks/example/ping';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/webhooks/example/ping \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”webhook
required
string
Responses
Section titled “Responses”Queued; Location is its status.
Media typeapplication/json
object
id
required
string
event
required
object
id
required
string
type
required
string
createdAt
required
string
status
required
string
attempts
required
Array
nextAttemptAt
required
string
Example generated
{ "id": "example", "event": { "id": "example", "type": "example", "createdAt": "example" }, "status": "example", "attempts": [ "example" ], "nextAttemptAt": "example"}Headers
Section titled “Headers”Location
string
Where to follow it.
No key, or not a valid one.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}The key lacks the scope, or its tenant is suspended or deleted.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}