Send a test event

Sends a signed webhook.test event to the endpoint now. The result is only "delivered" or "failed", with the status code the endpoint answered or a generic error class.

POST
/settings/webhooks/test
Serverhttps://api.medialit.cloud
Authentication
Body

Authentication

  • Bearer token (JWT)

  • Or API key in the x-medialit-apikey header

Request body

application/json
required
  • idstring
    required

Responses

200
What the endpoint did with the test event
  • resultstring
    required
    One of: "delivered", "failed"
  • statusinteger

    The HTTP status the endpoint answered.

  • errorstring

    Why no response came back.

    One of: "timeout", "connection_failed", "tls_error", "blocked_address"
400
Bad Request
  • errorstring
    required
401
Unauthorized
  • errorstring
    required
403
Forbidden
No response body.
404
Not Found
  • errorstring
    required
500
Internal Server Error
  • errorstring
    required