Skip to main content

Trying the Async API Demo

Some endpoints in this documentation are asynchronous — the response shown in the right panel after clicking Send API Request is only a confirmation that the command was received, not the final result. For example, the response received is {"success":true,"trans_id":"1"}. To try this demo, you need to set up your own webhook URL first.

How to Set Up a Webhook for Testing

  1. Prepare a webhook URL. If you don't have your own endpoint, you can use webhook.site to get an instant testing URL.
  2. Open the Mesin Absensi menu.
  3. Click Detail on the device you want to use for testing.
  4. Enter your prepared URL in the Webhook URL field.
  5. Click Simpan.

After the webhook is registered, the actual results will be forwarded as a callback response through that webhook, and you can return to the desired endpoint page to try the Send API Request button as usual.