Hooks > Logs

Make stores a log of every webhook execution. Make stores webhook logs for 3 days. The webhook logs for organizations with the Enterprise plan are stored for 30 days. Read more about webhook logs.

The following endpoints allow you to retrieve webhook logs.

Get webhook logs

get

Retrieves a list of the specified webhook execution logs. Use the to and from parameters to filter the returned logs. The response contains:

  • statusId: the status of the webhook execution; 1 means successful execution, 3 means failed execution

  • loggedAt: the moment when Make created the log

  • id: the ID of the webhook execution log

Authorizations
Path parameters
hookIdintegerRequired

The ID of the webhook. Use the GET /hooks API call to get the ID values of your webhooks.

Example: 654
Query parameters
tointegerOptional

Limits data in the response to entries older than the specified timestamp. Use the UNIX timestamp format in milliseconds.

Example: 1663495749015
fromintegerOptional

Limits data in the response to entries newer than the specified timestamp. Use the UNIX timestamp format in milliseconds.

Example: 1663495749015
pg[sortBy]stringOptional

The value that will be used to sort returned entities by.

pg[offset]integerOptional

The value of entities you want to skip before getting entities you need.

pg[sortDir]string · enumOptional

The sorting order. It accepts the ascending and descending direction specifiers.

Possible values:
pg[limit]integerOptional

Sets the maximum number of results per page in the API call response. For example, pg[limit]=100. The default number varies with different API endpoints.

Responses
200
Successful response
application/json
get
GET /api/v2/hooks/{hookId}/logs HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "hookLogs": [
    {
      "statusId": 1,
      "parser": "gateway-webhook",
      "replayable": true,
      "sizes": {
        "before": 169,
        "after": 169
      },
      "loggedAt": "2022-09-01T13:37:19.344Z",
      "udids": [
        "1oknbf9q7ctpjwrych332ump3ny4d66s"
      ],
      "typeId": 3,
      "id": "89ea4412db0119b205daf41c84eb2160",
      "appParser": null,
      "imtId": "1662039439344_N1ZF-YIBperJkDkkOJFc"
    },
    {
      "statusId": 3,
      "parser": "gateway-webhook",
      "replayable": true,
      "sizes": {
        "before": 589,
        "after": 589
      },
      "loggedAt": "2022-09-01T13:36:19.344Z",
      "udids": [
        "1oknbf9q7ctpjwrych332ump3ny4d66s"
      ],
      "typeId": 3,
      "id": "89ea4412db0119b205daf41c84eb1020",
      "appParser": null,
      "imtId": "2662039439344_N1ZF-YIBperJkDkkOkUv"
    }
  ],
  "pg": {
    "sortBy": "loggedAt",
    "limit": 25,
    "sortDir": "desc",
    "offset": 0
  }
}

Get webhook execution detail

get

Retrieves the specified webhook execution log. The response contains:

  • statusId: the status of the webhook execution; 1 means successful execution, 3 means failed execution

  • loggedAt: the moment when Make created the log

  • id: the ID of the webhook execution log

  • data: information about the request, header, and payload sent to the webhook.

Some webhooks don't return the data object due to their implementation. Most common examples include instant triggers for Slack, Zoom, Intercom and Facebook lead ads apps.

Authorizations
Path parameters
hookIdintegerRequired

The ID of the webhook. Use the GET /hooks API call to get the ID values of your webhooks.

Example: 654
logIdstringRequired

The ID of the webhook execution log. Use the GET /hooks/{hookId}/logs API call to get the ID values of your webhook execution logs.

Example: 95b1c20c790ff5f9d2f1e805943ce95d
Query parameters
pg[sortBy]stringOptional

The value that will be used to sort returned entities by.

pg[offset]integerOptional

The value of entities you want to skip before getting entities you need.

pg[sortDir]string · enumOptional

The sorting order. It accepts the ascending and descending direction specifiers.

Possible values:
pg[limit]integerOptional

Sets the maximum number of results per page in the API call response. For example, pg[limit]=100. The default number varies with different API endpoints.

Responses
200
Successful response
application/json
get
GET /api/v2/hooks/{hookId}/logs/{logId} HTTP/1.1
Host: eu1.make.com
Authorization: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "hookLog": {
    "statusId": 1,
    "parser": "gateway-webhook",
    "replayable": true,
    "data": {
      "request": {
        "headers": {
          "x-request-sample-header-item": "95b1c20c790ff5f9d2f1e805943ce95d"
        },
        "method": "POST",
        "query": {},
        "ip": "11.111.111.111",
        "parsed": null,
        "body": {
          "value": "Test"
        },
        "url": "/1oknbf9q7ctpjwrych332ump3ny4d66r"
      },
      "response": {
        "headers": [],
        "body": "Accepted",
        "status": 200
      }
    }
  },
  "sizes": {
    "before": 127,
    "after": 127
  },
  "loggedAt": "2022-09-01T13:36:37.908Z",
  "udids": [
    "1oknbf9q7ctpjwrych332ump3ny4d66r"
  ],
  "typeId": 3,
  "id": "95b1c20c790ff5f9d2f1e805943ce95e",
  "appParser": null,
  "imtId": "1662039397908_DlZE-YIBperJkDkklpFj"
}