v1

latestOpenAPI 3.1.02026-07-13350232.8 KB
Endpoints

Test endpoint

Test an endpoint by sending a test payload. For webhooks, supports inbound, discord, and slack formats. For email endpoints, simulates the forwarding process.

post/api/e2/endpoints/{id}/test

Path parameters

idstring required

Request body

webhookFormat'inbound' | 'discord' | 'slack'
overrideUrlstring

Response

Response for status 200

successboolean required
messagestring required
responseTimenumber required
statusCodenumber
responseBodystring
errorstring
{"stackTrail":"paths:/api/e2/endpoints/{id}/test:post:responses:200:content:application/json:schema:properties:testPayload","oasType":"schema","type":"unknown","extensionFields":{"x-stainless-any":true}}
webhookFormat'inbound' | 'discord' | 'slack'
urlTestedstring