/api/v2/organization/{organizationId}/webhook
Create a webhook that will fire for any transfer across the organization. Must be an organization manager to perform this action. To call this endpoint, you must have the user_manage scope on a short-lived access token created either in the web app or programmatically using the Login endpoint.
organizationId
stringRequired"59cd72485007a239fb00282ed480da1f"
^[0-9a-f]{32}$
type
string required transfer
url
string required label
string numConfirmations
integer coin
string allToken
boolean listenToFailureStates
boolean includeRbf
boolean id
string 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
label
string Test Webhook
created
string <date-time>
{}
coin
string btc
type
string txRequest
txRequestTransaction
transfer
transaction
pendingapproval
address_confirmation
lowFee
transfer
url
string <uri>
required https://your.server.com/webhook
version
integer 2
numConfirmations
integer 6
state
string active
suspended
active
lastAttempt
string <date-time>
{}
failingSince
string <date-time>
{}
successiveFailedAttempts
integer 0
walletId
string allowBlockedHosts
boolean allToken
boolean txRequestStates
array[string] initialized
pendingApproval
pendingUserCommitment
pendingUserRShare
pendingUserGShare
readyToSend
pendingUserSignature
pendingDelivery
signed
delivered
canceled
rejected
failed
txRequestTransactionStates
array[string] initialized
pendingSignature
eddsaPendingCommitment
eddsaPendingRShare
eddsaPendingGShare
readyToCombineShares
signed
held
delivered
invalidSignature
rejected
error
string required requestId
string required context
object name
string required