Preview a webhook step’s request
The request a webhook step would send, secret header values hidden, with the values it’s filled in with: for a profile and an event (`eventId`); without them, the person and event of the trigger’s latest event (a profile’s own latest when only the profile is given). With `send: true` it’s sent too, signed, and the answer’s status and start come back. Nothing is logged on a run.
The request a webhook step would send, secret header values hidden, with the values it’s filled in with: for a profile and an event (eventId); without them, the person and event of the trigger’s latest event (a profile’s own latest when only the profile is given). With send: true it’s sent too, signed, and the answer’s status and start come back. Nothing is logged on a run.
apiKey writeAuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: write
id*string^(auto)_[0-9A-Za-z]{8}$idempotency-key?stringRun this write once: a retry with the same key gets the first answer (24 hours).
1 <= length <= 255application/json- body
step*profileId*|uuideventId?|uuidnullsend?booleanfalseOK
application/json- response
method*string"POST""PUT""PATCH"url*stringheaders*array<>body*stringissue*string|nullprofile*|nullevent*|nullvalues*response*|nullcurl -X POST 'https://api.postforge.dev/v1/automations/string/webhook-preview' \ -H 'Content-Type: application/json' \ -d '{ "step": { "id": "string", "type": "webhook", "method": "POST", "url": "string", "headers": [ { "name": "string", "value": "string" } ], "body": "string", "onFailure": "continue" }, "profileId": "faebe71b-2bf8-4bdb-9b67-258e4d6aa00a"}'{ "method": "POST", "url": "string", "headers": [ { "name": "string", "value": "string", "secret": true } ], "body": "string", "issue": "string", "profile": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "email": "string" }, "event": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "occurredAt": "2019-08-24T14:15:22Z" }, "values": { "profile": { "property1": null, "property2": null }, "event": { "property1": null, "property2": null } }, "response": { "status": 0, "ms": 0, "text": "string" }}