Skip to main content
All CollectionsIntegrationsAPI & Webhooks
Updating Deprecated TWICE Webhooks
Updating Deprecated TWICE Webhooks

Learn How to Update Your Old TWICE Webhooks to Use the New TWICE API Structure

Updated over a week ago

In early 2023, TWICE launched a significant update with the release of the TWICE Admin API. You can find the new Admin API documentation at https://api.rentle.io/admin. Following this update, the previous TWICE API (available at https://api.rentle.io/docs) ceased receiving updates. Official support for the old API will end on August 31, 2023, meaning it will no longer receive updates or maintenance and may become inoperative.

Should you have configured TWICE Webhooks prior to the unveiling of the new TWICE Admin API, these Webhooks utilize the outdated TWICE API document structure. While existing old webhooks will continue to function, they won't be maintained or updated after August 31, 2023, and might cease working eventually.

Identifying Affected Webhooks

To determine if your Webhooks rely on an older API version, follow these steps:

  1. Navigate to Account → Integrations within your TWICE account.

  2. Scroll to the Webhooks section and check if any Webhooks are labeled as “Deprecated” in the Version column.

  3. A warning above the Webhooks section will indicate if any Webhooks require updates. If none are marked as “Deprecated,” no action is required. However, if you do find deprecated Webhooks, they will need updating.

Updating Your Old Webhooks

For updating deprecated Webhooks:

  1. Create a New Webhook: Generate a new webhook for the identical action.

  2. Verify Functionality: Ensure the new webhook operates as intended.

  3. Remove the Old Webhook: Once the new webhook is confirmed to work, delete the obsolete one. All new Webhooks will automatically employ the new TWICE Admin API.

Note, that the data structure of new Webhooks slightly differs from the old ones. It’s essential to adjust your services to accommodate the data structure of the new Webhooks accurately. The API documentation for the new Webhooks and their data structures is accessible at https://api.rentle.io/admin/#tag/WebhooksOverview.

Did this answer your question?