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)
- After creating an event, Zapier provides you a webhook URL
- Copy this URL (see below)
- Go to API.audio developer console (https://console.api.audio/register) and set the Webhook URL
- Go to API.audio developer console (https://console.api.audio/register) and set the Webhook URL
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 about 2 years ago