Repository navigation
Reference Method
React More edited this page Feb 13, 2025
·
8 revisions
Webhook provide a way for notifications to be delivered to an external web server whenever certain event occur in Mayar.
You can configure Webhooks via the Mayar dashboard, here are the steps:
For starting using Mayar Webhook, you need account at https://mayar.id./ Please use https://web.mayar.club/ for testing
Go to Integration -> Webhook page
In the "URL Webhook" field, input the URL you got from a third-party integration platform (such as pipedream, zapier, or others) to trigger and send the webhook event
Click save then test the URL to see the status of the Webhook URL.
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: