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.
- First you need to log into your Zapier account (https://zapier.com/app/dashboard)
- Create a new zap and choose "webhooks by zapier" as the start event (see example below)
![Screenshot 2022-08-15 at 17.26.48.png 1952](https://files.readme.io/366c024-Screenshot_2022-08-15_at_17.26.48.png)
- After creating an event, Zapier provides you a webhook URL
- Copy this URL (see below)
![Screenshot 2022-08-15 at 17.27.34.png 1818](https://files.readme.io/5f79de0-Screenshot_2022-08-15_at_17.27.34.png)
- Go to API.audio developer console (https://console.api.audio/register) and set the Webhook URL
![Screenshot 2022-08-15 at 17.30.27.png 2836](https://files.readme.io/0789d27-Screenshot_2022-08-15_at_17.30.27.png)
- Go to API.audio developer console (https://console.api.audio/register) and set the Webhook URL
![Screenshot 2022-08-15 at 17.57.11.png 1900](https://files.readme.io/8dae805-Screenshot_2022-08-15_at_17.57.11.png)
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)
Updated almost 2 years ago