## View webhooks `client.Stream.Webhooks.Get(ctx, query) (*WebhookGetResponse, error)` **get** `/accounts/{account_id}/stream/webhook` Retrieves a list of webhooks. ### Parameters - `query WebhookGetParams` - `AccountID param.Field[string]` The account identifier tag. ### Returns - `type WebhookGetResponse struct{…}` - `Modified Time` The date and time the webhook was last modified. - `NotificationURL string` The URL where webhooks will be sent. - `NotificationURL string` The URL where webhooks will be sent. - `Secret string` The secret used to verify webhook signatures. ### Example ```go package main import ( "context" "fmt" "github.com/cloudflare/cloudflare-go" "github.com/cloudflare/cloudflare-go/option" "github.com/cloudflare/cloudflare-go/stream" ) func main() { client := cloudflare.NewClient( option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"), ) webhook, err := client.Stream.Webhooks.Get(context.TODO(), stream.WebhookGetParams{ AccountID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"), }) if err != nil { panic(err.Error()) } fmt.Printf("%+v\n", webhook.Modified) } ``` #### Response ```json { "errors": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "messages": [ { "code": 1000, "message": "message", "documentation_url": "documentation_url", "source": { "pointer": "pointer" } } ], "success": true, "result": { "modified": "2014-01-02T02:20:00Z", "notification_url": "https://example.com", "notificationUrl": "https://example.com", "secret": "secret" } } ```