Skip to content

GET all webhooks API has incorrect schema definition #753

@iampava

Description

@iampava

Request for updates in the documentation

  • New Documentation
  • Updates to Existing Documentation

GET all webhooks API has incorrect schema definition

The documentation mentions it returns an Array: https://www.alchemy.com/docs/data/webhooks/webhooks-api-endpoints/notify-api-endpoints/team-webhooks

[
  {
    "data": [
      {
        "id": "foo",
        "network": "ETH_MAINNET",
        "webhook_type": "GRAPHQL",
        "webhook_url": "foo",
        "is_active": true,
        "time_created": 42,
        "addresses": [
          "foo"
        ],
        "version": "foo",
        "signing_key": "foo"
      }
    ]
  }
]

However, calling it via Postman returns an object:

{
  data: Array<...>
}

I think the documentation for this particular API is wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions