Forbidden Error when getting list of webhooks in sandbox

I am trying to get list of webhooks using this endpoint
[Get] /v1/webhooks

I set the ff. headers:
X-API-KEY
Authorization

But I am getting forbidden error. Is this endpoint available in sandbox?

Hi @george.monroyo

This endpoint should be available for sandbox environments, did you ensure you have your secret included like so?:

  1. fireblocksApiKey: This is the API key you downloaded from the Users tab in Fireblocks Console.
  2. fireblocksSecretKey: This is the fireblocks_secret.key file you created in the Quickstart Guide.

If you are using Postman or custom API client this might be helpful Postman Guide

Hi @Mohammed,

I included in the header the ff:

req.Header.Set(“Authorization”, "Bearer "+token)
req.Header.Add(“X-API-KEY”, s.APIKey)

Token is based on the sample code, using this, I am able to create a vault account and wallet address. but the endpoint for webhook has error

I see the issue,

If you take a look here, V1 webhooks only has a resend endpoint

What you are trying to access is our Beta V2 webhook(GET /v1/webhook; keep in mind we use /v1/ for all our API endpoints as a base URL) which we would need to enable for you. What is your sandbox workspace name?

Hi @Mohammed

is the workspace name?

image