Trigger an Event
Changed onAPI to pass an event, which in turn triggers workflows where that event is defined as the trigger.
post/event/
Request
- Base URLhttps://hub.suprsend.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"properties": {
"$attachments": [
{
"url": "https://bitcoincore.org/bitcoin.pdf",
"filename": "billing.pdf"
}
]
},
"cancellation_key": "booking-123"
}Response
202 - Accepted
Changes
- info
added the new optional request property
- info
- breaking
removed the media type
application/jsonfor the response with the status - info
added the media type
text/plainfor the response with the status
- breaking