REST APIWallet & TransactWebhook

POST

Create a webhook secret for a specified enterprise or organization. This secret will be used to generate webhook notification signatures so that you can verify that the notification comes from BitGo using the v2.webhook.notification.verify endpoint. The secret can be rotated by calling this endpoint again at a cadence of once every 5 minutes. You must specify exactly one of enterpriseId or organizationId. The requester must be an admin of the specified enterprise or organization.

Body Params

object

  • enterpriseId string

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

  • organizationId string

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

Responses

200
OK

Response Body

object

  • secret string required
400
Bad Request

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
403
Forbidden

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