Faster Zapier Syncing through Webhooks

We’ve just released WebHook support through our API. To most of you, this will make any Zapier connections you’re using much faster since data will now sync in real time.

If you’re a developer or run a product that would like to integrate with us, this will make your life easier too!

Simply POST and “event” and “target_url” parameter to the following URL and we will notify the corresponding Target any time a new event occurs:

https://www.bettervoice.com/api/v2/hook/?username=XXX&token=YYY

Event choices so far are: call.created, sms.created, contact.created, contact.updated, contact.deleted.

Here is an example JSON payload your app will receive for a call:

{
    "from_number": "+1512827####",
    "duration": 989,
    "contact_name": "",
    "id": "XXX",
    "viewed": false,
    "account_id": "XXX",
    "archived": false,
    "group": null,
    "to_number": "+1971216####",
    "to_city": "WOODBURN",
    "to_country": "US",
    "audio_voicemail": "http://www.example.com/voicemail_url.mp3",
    "status": "completed",
    "direction": "inbound",
    "from_name": "AUSTIN TX",
    "to_zip": "97071",
    "tags": [],
    "timestamp": "02/01/2013 03:38 PM",
    "audio_call_label": null,
    "from_city": "AUSTIN",
    "from_zip": "78749",
    "audio_call": null,
    "audio_transcription": "This is a voicemail transcription.",
    "from_country": "US",
    "forwarded_from": null,
    "from_state": "TX",
    "account": "/api/v2/account/XXX/",
    "to_state": "OR",
    "audio_label": null,
    "contact": "/api/v2/contact/XXX/",
    "tollfree": false,
    "minutes": 17,
    "resource_uri": "/api/v2/call/XXX/"
}

If you would like more information on how you can benefit from our new WebHook support, just reach out to us and we will help you!

This is the Better Voice public blog. Its our place to share and connect with you!