POST
Create organization webhook
Create a webhook that sends an HTTP callback from BitGo to a specified URL when
specific conditions occur within an 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.
Path Params
-
organizationIdstring required
Body Params
ONE OF
- Transfer
- Transaction Request
- Transaction Request Transaction
- Pending Approval
- Bank Account
- Identity Status
- User KYC State
- Enterprise KYC State
- Reversal
- Trade Order
- IDV Status
- Whitelist Approved
- Whitelist Rejected
No matching variants
-
allTokenboolean -
coinstring -
includeRbfboolean -
labelstring -
listenToFailureStatesboolean -
numConfirmationsnumber -
typestring enum requiredtransfer -
urlstring required
-
labelstring -
txRequestStatesarray of string enumspendingApprovalcanceledrejectedinitializedpendingDeliverydeliveredpendingUserSignaturependingUserCommitmentpendingUserRSharependingUserGSharereadyToSendsignedfailed -
typestring enum requiredtxRequest -
urlstring required
-
labelstring -
txRequestTransactionStatesarray of string enumsinitializedpendingSignatureeddsaPendingCommitmenteddsaPendingRShareeddsaPendingGShareecdsaMPCv2Round1ecdsaMPCv2Round2ecdsaMPCv2Round3eddsaMPCv2Round1eddsaMPCv2Round2eddsaMPCv2Round3readyToCombineSharessignedhelddeliveredinvalidSignaturerejected -
typestring enum requiredtxRequestTransaction -
urlstring required
-
allTokenboolean -
coinstring -
labelstring -
typestring enum requiredpendingapproval -
urlstring required
-
labelstring -
typestring enum requiredbankAccount -
urlstring required
-
labelstring -
statusarray of string enumscreatedapproveddeclinedneeds reviewinput errorssn errortaxid errorgov id errorssn verifiedgov id verifiedevaluating submissionenrichmentawaiting document uploadrecords uploadedin reviewincomplete verificationsrecords uploaded 2awaiting signaturesignature submittedinitiatingadditional information submittedproductRequestApprovedproductRequestRejected -
typestring enum requiredidentityStatus -
urlstring required
-
kycStatearray of string enumsapprovedrejectedpending -
labelstring -
typestring enum requireduserKycState -
urlstring required
-
kycStatearray of string enumsapprovedrejectedpending -
labelstring -
typestring enum requiredenterpriseKycState -
urlstring required
-
labelstring -
typestring enum requiredreversal -
urlstring required
-
labelstring -
typestring enum requiredtradeOrder -
urlstring required
-
labelstring -
typestring enum requiredidvStatus -
urlstring required
-
labelstring -
typestring enum requiredwhitelistApproved -
urlstring required
-
labelstring -
typestring enum requiredwhitelistRejected -
urlstring required
Responses
200
OK
Response Body
object
Webhook response scoped to organization webhook types —
coin is optional.-
idstring required -
createdstring date-time required -
urlstring uri required -
versionnumber required2 for coins running on API v2. -
scopestring enum requiredwalletenterpriseorganizationsafe -
statestring enum requiredIf 'active', indicates the webhook can trigger and send to the URL. If 'suspended', indicates the webhook can't trigger.activesuspended -
successiveFailedAttemptsnumber required -
listenToFailureStatesboolean requiredWhether or not to listen to failed transactions on chain. -
coinstringA cryptocurrency or token ticker symbol. -
labelstringLabel of the new webhook. -
walletIdstring -
enterpriseIdstring -
organizationIdstring -
userIdstring -
typestring enumEvent type to listen to.transfertxRequestpendingapprovaltxRequestTransactionbankAccountidentityStatusidvStatususerKycStateenterpriseKycStateaccessTokenreversaltradeOrderwhitelistApprovedwhitelistRejected -
numConfirmationsnumber -
lastAttemptstring date-time -
failingSincestring date-time -
allTokenboolean -
txRequestStatesarray of string enumspendingApprovalcanceledrejectedinitializedpendingDeliverydeliveredpendingUserSignaturependingUserCommitmentpendingUserRSharependingUserGSharereadyToSendsignedfailed -
txRequestTransactionStatesarray of string enumsinitializedpendingSignatureeddsaPendingCommitmenteddsaPendingRShareeddsaPendingGShareecdsaMPCv2Round1ecdsaMPCv2Round2ecdsaMPCv2Round3eddsaMPCv2Round1eddsaMPCv2Round2eddsaMPCv2Round3readyToCombineSharessignedhelddeliveredinvalidSignaturerejected
400
Bad Request
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
401
Unauthorized
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
403
Forbidden
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id