Integration Webhooks
This is an older form of Webhook, which only supports events related to changes in integration state. Unlike General Webhooks, each event generates an individual Webhook.
Supported events
Entity
Event
Description
Integration
IntegrationCreated
Event triggered when a new integration is created
Integration
IntegrationEnabled
Event triggered when a integration is enabled
Integration
IntegrationDisabled
Event triggered when a integration is disabled
Integration
IntegrationCanceled
Event triggered when a integration is canceled
Integration
IntegrationReinstated
Event triggered when a integration is reinstated
Integration
IntegrationDeleted
Event triggered when a integration is deleted
TerminologyAn Integration refers to the unique connection between an Enterprise or Property (i.e. Mews customer) and an API client (i.e. Mews partner), corresponding to a unique Access Token. For a full description of all the terms used, see the Mews Glossary for Open API users.
Request body
Action
required
Type of action or event.
Data
object
required
Webhook action
IntegrationCreated
- Triggered when a new integration is created.Data
is Integration created data.IntegrationEnabled
- Triggered when an integration is enabled.Data
is Integration enabled data.IntegrationDisabled
- Triggered when an integration is disabled.Data
is Integration disabled data.IntegrationCanceled
- Triggered when an integration is canceled.Data
is Integration canceled data.IntegrationReinstated
- Triggered when an integration is reinstated.Data
is Integration reinstated data.IntegrationDeleted
- Triggered when an integration is deleted.Data
is Integration deleted data.
Webhook data
The structure of the Data object depends on Webhook action.
Integration created data
Enterprise
required
Property or chain of properties.
Service
optional
Service the integration is connected to.
Requestor
required
Person requesting the action or event.
AccessToken
string
required
Access token of the client application.
CreatedUtc
string
required
Creation date and time of the integration in UTC timezone in ISO 8601 format.
IsEnabled
bool
required
Whether integration is enabled.
Integration
required
Integration data.
Enterprise
Id
string
required
Unique identifier of the enterprise.
Name
string
required
Name of the enterprise.
Service
Id
string
required
Unique identifier of the service.
Name
string
required
Name of the service.
Requestor
Name
string
required
Name of the requestor.
Email
string
required
Email of the requestor.
Integration
Id
string
required
Unique identifier of the integration.
Name
string
required
Name of the integration.
Integration enabled data
Integration
required
Integration data.
Integration disabled data
Integration
required
Integration data.
Integration canceled data
Integration
required
Integration data.
Integration reinstated data
Integration
required
Integration data.
Integration deleted data
DeletedUtc
string
required
Deletion date and time of the integration in UTC timezone in ISO 8601 format.
Integration
required
Integration data.
Last updated