Send a test event
POST
/v1/webhook-endpoints/{id}/test
const url = 'https://api.staging.heliumid.io/v1/webhook-endpoints/example/test';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://api.staging.heliumid.io/v1/webhook-endpoints/example/test \ --header 'Authorization: Bearer <token>'Delivers a webhook.test event to this endpoint only, so you can check your signature verification.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Responses
Section titled “Responses”A webhook.test event, delivered to this endpoint only
Media typeapplication/json
object
delivery
required
Any of:
object
id
required
string
endpointId
required
string
eventId
required
string
eventType
required
string
status
required
string
attemptCount
required
integer
nextAttemptAt
required
string | null
redeliveryOf
required
string | null
createdAt
required
string | null
updatedAt
required
string | null
attempts
required
Array<object>
object
number
required
integer
startedAt
required
string | null
durationMs
required
integer
statusCode
required
integer | null
error
required
string | null
acknowledged
required
boolean
null
Example
{ "delivery": { "status": "queued" }}Invalid request
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
correlationId
required
string
Example generated
{ "error": { "code": "example", "message": "example", "correlationId": "example" }}Not authenticated
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
correlationId
required
string
Example generated
{ "error": { "code": "example", "message": "example", "correlationId": "example" }}Not found
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
correlationId
required
string
Example generated
{ "error": { "code": "example", "message": "example", "correlationId": "example" }}The endpoint is disabled
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
correlationId
required
string
Example generated
{ "error": { "code": "example", "message": "example", "correlationId": "example" }}