latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Enterprise Webhooks
Create enterprise webhook
Create a webhook that will fire for any bank account associated with the enterprise. Must be an organization or enterprise admin 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.
post/api/v2/enterprise/{enterpriseId}/webhooks
Path parameters
enterpriseIdstring required
Example:59cd72485007a239fb00282ed480da1f
Request body
Response
OK
Example response
{
"id": "59cd72485007a239fb00282ed480da1f",
"created": "2021-01-01T00:00:00.000Z",
"url": "https://your.server.com/webhook",
"version": 2,
"state": "active",
"coin": "btc",
"organizationId": "59cd72485007a239fb00282ed480da1f",
"numConfirmations": 6,
"lastAttempt": "2021-01-01T00:00:00.000Z",
"failingSince": "2021-01-01T00:00:00.000Z"
}