Get mock webhook payload

POST {{baseUrl}}/v3/webhooks/mock-payload

The webhook payload that Nylas sends for the corresponding trigger type

Request Body

{"trigger_type"=>"<string>", "webhook_url"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;data&quot;:&quot;\u003cobject\u003e&quot;},&quot;request_id&quot;:&quot;\u003cstring\u003e&quot;}