Webhook - Zapier Examples

Distribute your audio through API.audio using Zapier

API.audio webhooks and Zapier allow you to connect and send your audio to the most popular apps and automate your workflow.

  1. First you need to log into your Zapier account (https://zapier.com/app/dashboard)
  2. Create a new zap and choose "webhooks by zapier" as the start event (see example below)
1952
  1. After creating an event, Zapier provides you a webhook URL
  2. Copy this URL (see below)
1818
  1. Go to API.audio developer console (https://console.api.audio/register) and set the Webhook URL
2836
  1. Go to API.audio developer console (https://console.api.audio/register) and set the Webhook URL
1900

Audio to Google Drive

Audio to Slack

Audio to Airtable

import apiaudio
import json

apiaudio.api_key = "your_key"

text = """
This is my audio created by API.audio webhooks 
"""

script = apiaudio.Script.create(
    scriptId="ad",
    scriptText=text,
)  


speech = apiaudio.Speech.create(
    scriptId="ad",
    voice="linda",
)


mastering = apiaudio.Mastering.create(
    scriptId="ad",
    soundTemplate="jakarta",
)
print('Response from mastering', mastering)