REST API›Wallet & Transact›Webhook

GET

List webhooks set up on the wallet. Currently, the types of webhooks that can be attached to a wallet are transfer, pendingapproval, and address_confirmation notifications.

Path Params

  • coin string required
    A cryptocurrency or token ticker symbol
  • walletId string required
    The ID of the wallet

Query Params

  • allTokens string
    Set to true to include the webhooks of all tokens on an Ethereum-family wallet. Any other value is ignored
  • includeEvmKeyringWebhooks string
    Set to true to include the webhooks of every wallet of an EVM keyring. Any other value is ignored

Responses

200
OK

Response Body

object

The webhooks of a wallet.
  • webhooks array of objects required
    webhooks object
    • id string required

      matches ^[0-9a-f]{32}$

    • created string date-time required
    • coin string required
      A cryptocurrency or token ticker symbol. Webhooks of v1 wallets report bitcoin.
    • url string uri required
    • version number required
      1 for v1 wallets and 2 for coins running on API v2.
    • state string enum required
      If 'active', indicates the webhook can trigger and send to the URL. If 'suspended', indicates the webhook can't trigger.
      activesuspended
    • successiveFailedAttempts number required
    • listenToFailureStates boolean required
      Whether or not to listen to failed transactions on chain.
    • label string
      Label of the webhook.
    • scope string enum
      The scope of the webhook. Not stored for older webhooks, so it can be absent.
      walletenterpriseorganizationsafe
    • walletId string
      The ID of the wallet the webhook belongs to.
    • userId string
      The ID of the user that created the webhook.

      matches ^[0-9a-f]{32}$

    • type string enum
      The type of event the webhook listens to.
      txRequesttxRequestTransactiontransfertransactiontransactionRemovedtransactionExpirependingapprovalblockadminaddress_confirmationlowFeecircuitBreakerlowFeeAddressBalancewallet_confirmationbankAccountuserKycStateenterpriseKycStateidentityStatusidvStatusaccessTokenaccountCreatedcontractSignedkycResultpolicyBalanceChangereversalmintOrdertransaction_finality_on_l1stuckTxtradeOrderunspentExpirytwoStepTransfertwoStepDeposittwoStepWithdrawalendInvestorOnboardingInviteendInvestorOnboardingAcceptedpendingDecryptionwhitelistApprovedwhitelistRejectedallocationRequestallocationAcceptedallocationSettlementFailed
    • numConfirmations number
      Number of confirmations before the webhook is triggered.
    • lastAttempt string date-time
    • failingSince string date-time
    • allToken boolean
      Whether the webhook also fires for all tokens of the wallet.
    • txRequestStates array of string enums
      pendingApprovalcanceledrejectedinitializedpendingDeliverydeliveredpendingUserSignaturependingUserCommitmentpendingUserRSharependingUserGSharereadyToSendsignedfailed
    • txRequestTransactionStates array of string enums
      initializedpendingSignatureeddsaPendingCommitmenteddsaPendingRShareeddsaPendingGShareecdsaMPCv2Round1ecdsaMPCv2Round2ecdsaMPCv2Round3eddsaMPCv2Round1eddsaMPCv2Round2eddsaMPCv2Round3redpallasRerandRound1redpallasRerandRound2redpallasMPCv2Round1redpallasMPCv2Round2redpallasMPCv2Round3readyToCombineSharessignedhelddeliveredinvalidSignaturerejected
    • allowBlockedHosts boolean
      Whether the webhook may call blocked hosts. Admin only.
    • internal boolean
      Whether the webhook is internal to BitGo. Admin only.
400
Bad Request

Response Body

ONE OF

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
401
Unauthorized

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
404
Not Found

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id