Skip to main content
POST

Authorizations

x-api-key
string
header
required

API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys

Path Parameters

endpoint_id
string
required

Id of the endpoint the test event is sent to.

Response

202 - application/json

Successful Response

Acknowledgement returned when a test event is accepted for delivery.

status
string
required

Confirms the test event was accepted and is on its way to your endpoint.

Example:

"enqueued"

event_type
string
required

Event type the test carries, so your handler can tell it apart from real traffic.

Example:

"webhook.test"

job_id
string
required

Identifier this test event is raised for, which you can match against the delivery log.

Example:

"4a4bfe21-d9d2-43a4-9877-b6ca4aec4349"