Published on October 10th, 2014 | by Nivi Kumar0
Introducing Webhooks in VerticalResponse API
A Webhook provides a way for a developer or a client application to subscribe to certain events in a web application, such as a new list sign up, by providing a uniform resource identifier (URI). When the event occurs, the web application makes an HTTP callback to this URI letting them know that the event they subscribed to has occurred and provides details about the event, eliminating the need for any polling.
VerticalResponse has created API Webhooks for three events:
- Contact Create
- Contact Unsubscribe
- Uploading a list of contacts (Bulk Contact Create)
Say a client application has subscribed to “contact create” through the Webhook. When a VerticalResponse user associated with the client application creates a new contact in their account, the client application will get a notification from VerticalResponse. If the client application subscribed to “uploading a list of contacts,” VerticalResponse will make a callback to the client application letting them know of this new development whenever the VerticalResponse user uploads a list of contacts.
If you’re creating a solution that will keep VerticalResponse and another system in sync with respect to contacts, Webhooks can save you time and effort by letting you know whenever a new contact has been created in VerticalResponse for your users. This way you only have to react to changes when they happen, rather than polling VerticalResponse at regular intervals to check if there’s a new contact.
Similarly, if you want to know about unsubscribed contacts and also make sure that another system, for example a CRM, knows of this change, you can use the Webhooks to alert you whenever a user unsubscribes from VerticalResponse. This way, the data in the two systems is always consistent with minimal effort.
Learn how you can integrate email marketing and social media into your app with the VerticalResponse API.
© 2014 – 2015, Nivi Kumar. All rights reserved.