v1

latestOpenAPI 3.0.32026-07-1320201.0 MB
Bitcoin Webhooks

Create a new Webhook

Creates a new webhook for real-time communication and event notification.

post/api/v2/bitcoin/webhooks

Headers

X-Network'testnet' | 'mainnet'

Specify "testnet" for test network or leave empty for main network. Defaults to "mainnet" if not provided.

Authorizationstring required

Bearer token for authorization. Required for authenticated endpoints.

Content-Type'application/json' | 'application/x-www-form-urlencoded' | 'multipart/form-data' required

The MIME type of the request body.

Request body

fromstring

Sender address (required if not providing type, to, contractaddress, and tokenid). This field is required when none of <code>type</code>, <code>to</code>, <code>contractaddress</code>, and <code>tokenid</code> are present.

tostring

Receiver address (required if not providing type, from, contractaddress, and tokenid). This field is required when none of <code>from</code>, <code>type</code>, <code>contractaddress</code>, and <code>tokenid</code> are present.

urlstring required

URL for webhook notifications (required).

Example request

{
  "url": "http://www.bailey.biz/quos-velit-et-fugiat-sunt-nihil-accusantium-harum.html"
}

Response

statusinteger
okboolean
messagestring

Example response

{
  "status": 201,
  "ok": true,
  "message": "Webhook created",
  "data": {
    "webhook": "9b2b4dcc-1479-4bcd-9b8a-015673e80f46"
  }
}