Create a webhook

To create a webhook, use the POST method. The POST body must contain specific options in JSON format.

Component Description

HTTP method

POST

URL

https://host/fmi/odata/version/database-name/Webhook.Add

host – FileMaker Server host name

version – the OData version, always v4

database-name – the name of the hosted database

Example: /fmi/odata/v4/ContactMgmt/Webhook.Add

Parameters

JSON example:

Copy
{
  "webhook": "https://my.exmple.com:8080/webhook",
  "headers": {
    "Content-Type": "application/json"
  }, 
  "tableName": "myTable",
  "notifySchemaChanges": True,
  "select": "PrimaryKey,CreatedBy",
  "filter": "CreatedBy eq 'Admin'",
}