curl --request POST \
--url https://api.sandbox.tesouro.com/finops/v1/webhook-subscriptions/{webhook_subscription_id}/regenerate-secret \
--header 'Authorization: Bearer <token>' \
--header 'x-finops-version: <x-finops-version>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_types": [
"<string>"
],
"object_type": "account",
"secret": "<string>",
"status": "enabled",
"url": "<string>"
}curl --request POST \
--url https://api.sandbox.tesouro.com/finops/v1/webhook-subscriptions/{webhook_subscription_id}/regenerate-secret \
--header 'Authorization: Bearer <token>' \
--header 'x-finops-version: <x-finops-version>'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_types": [
"<string>"
],
"object_type": "account",
"secret": "<string>",
"status": "enabled",
"url": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
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 enabled, disabled 1 - 2083Was this page helpful?