New “enabled” and “disabled” request types

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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s