Skip to main content

List all webhooks

Query Parameters
account_idarray of string

Filter by account identifiers: return webhooks which push events for the given account identifiers.

Returns
  • GET /webhooks
  • curl 'https://api.lune.co/v1/webhooks' \
      -H 'Authorization: Bearer <API_KEY>'
  • Response
  • [
      {
        "id": "ljmkOq7vXd239gAE9WALWQ8ZGVD5ExNz",
        "url": "https://lune.co",
        "enabled": true,
        "account_type": "live",
        "account_ids": [
          "ljmkOq7vXd239gAE9WALWQ8ZGVD5ExNz"
        ],
        "created_at": "1985-04-12T23:20:50.52Z",
        "secret": "secret"
      }
    ]