We just added two new request types to our Outgoing Leads API allowing destinations to know when clients enable or disable an integration with them.
When an integration is enabled Real Geeks will send a POST to the destination URL with the following JSON body:
{ "action": "integration_enabled", "partner_id": "{value or partner id}", "site_uuid": "{value or site uuid}" }
And when a destination is disabled Real Geeks will send:
{ "action": "integration_disabled", "partner_id": "{value of partner id}", "site_uuid": "{value of site uuid }" }
When developers are also using the Incoming Leads API this request will help them store the site_uuid
to be used on requests to that site.