Skip to main content
POST
/
fleets
/
{fleetId}
/
webhooks
/
{webhookId}
/
test
JavaScript
import Cerca from '@cerca-dev/sdk';

const client = new Cerca({
  apiKey: process.env['CERCA_API_KEY'], // This is the default and can be omitted
});

const response = await client.webhooks.test('fleet_abc123', 'webhook_abc123');

console.log(response.error);
{
  "error": "<string>",
  "statusCode": 123,
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.cerca.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

fleetId
string
required
Minimum string length: 1
Example:

"fleet_abc123"

webhookId
string
required
Minimum string length: 1
Example:

"webhook_abc123"

Response

Structured result for a synthetic webhook.test delivery.

error
string | null
required
statusCode
integer | null
required
success
boolean
required