Automatization

Deliver a request to an incoming webhook

Public endpoint of a WEBHOOK automatization trigger. Requires no authentication - the token in the path is the credential. The request is stored and answered immediately; the automatization's code actions run afterwards, so the response never carries their result. Any valid UTF-8 body is accepted: JSON is passed to the script decoded, anything else as a raw string. Bodies over 1 MB are rejected, and so is a body that is not valid UTF-8 (an ISO-8859-x payload, say) - re-encode it before sending.

post/hook/{token}

Request

  • Base URL: https://test.boost.space/api
  • URL: https://test.boost.space/api/hook/{token}
  • Auth: HTTP bearer

Path parameters

tokenstring required

Token of the webhook, from the automatization's webhookUrl

Request body

object required

Any JSON object. A top-level array or scalar is accepted just as well and reaches the script unchanged.

Response

Delivery accepted and queued for execution

codeinteger
statusstring
deliveryIdinteger

Id of the stored delivery, visible in the automatization's delivery log

Example response

{
  "code": 200,
  "status": "accepted",
  "deliveryId": 1234
}

Changes

No recorded changes to this operation across all 1 revision of this API.