Webhook subscriptions

Regenerate a webhook secret and return the new webhook subscription

The webhook signing secret lets you verify webhook signatures. If you lost the original secret generated for any of your webhook subscriptions, you can regenerate it.

post/webhook_subscriptions/{webhook_subscription_id}/regenerate_secret

Request

  • Base URL: https://api.sandbox.monite.com/v1
  • URL: https://api.sandbox.monite.com/v1/webhook_subscriptions/{webhook_subscription_id}/regenerate_secret
  • Auth: HTTP bearer

Path parameters

webhook_subscription_idstring required

ID of the webhook subscription. This is the same value as the webhook_subscription_id you receive in webhooks.

Headers

x-monite-versionstring required

Response

Successful Response

idstring uuid required

A unique URL assigned to this webhook subscription. This ID is also included in the webhook data as the webhook_subscription_id field.

event_typesstring[] required

Events included in this webhook subscription. An empty array means the subscription includes all events triggered by the specified object_type.

object_type'account' | 'accounting_connection' | 'approval' | 'approval_request' | 'approval_policy' | 'approval_policy_process' | 'batch_payment' | 'comment' | 'counterpart' | 'counterpart_address' | 'counterpart_bank_account' | 'counterpart_contact_person' | 'counterpart_partner_metadata' | 'counterpart_tax_id' | 'entity' | 'entity_bank_account' | 'entity_settings' | 'entity_user' | 'export' | 'overdue_reminder' | 'partner_settings' | 'payable' | 'payables_credit_note' | 'payables_purchase_order' | 'payable.line_item' | 'payment' | 'payment_intent' | 'payment_link' | 'payment_reminder' | 'product' | 'project' | 'receivable' | 'recurrence' | 'role' | 'tag' | 'todo_task' | 'workflow' | 'workflow_pipeline' | 'ocr_task' | 'delivery_note' | 'receipt' | 'transaction' required
secretstring required

The webhook signing secret for this subscriptions. You can use it to verify webhook signatures.

status'enabled' | 'disabled' required
urlstring uri required

URL to which the webhooks are sent. The same URL can be used by multiple webhook subscriptions.

Changes

No recorded changes to this operation across all 1 revision of this API.