Skip to content

Reference Method

React More edited this page Feb 13, 2025 · 8 revisions

Webhook

Webhook provide a way for notifications to be delivered to an external web server whenever certain event occur in Mayar.

Get History

This endpoint give all data webhook from mayar

Parameter data:

Parameter Type Description Requirement Type
page integer ID of the user creating the board. Required
pageSize integer Desired name of the board being created. Required
startAt ISO Created at date
endAt ISO End date
status string Only two enum SUCCESS, FAILED
type string type webhook event
urlDestination string

Example Request

$mayarId->webhookServices()->getWebhookHistory(["pageSize" => 2]);

Response:

Clone this wiki locally