Skip to main content
POST
Subscribe a Zapier REST hook

Authorizations

Authorization
string
header
required

Use Authorization: Bearer pyai_live_... (or pyai_test_...).

Body

application/json
event
enum<string>
required

Event to deliver to this hook.

Available options:
recap.call.completed,
amd.call.completed,
trace.scorecard.completed,
transcription.job.completed,
cast.render.completed
target_url
string<uri>
required

Zapier REST-hook target URL (https). Every completed call POSTs a signed envelope {id, type, occurred_at, data} here.

Response

Subscribed hook

object
string
Example:

"integration.destination"

id
string
Example:

"idst_9fK2mQ7xR4wLpN8vTzA1"

kind
enum<string>
Available options:
slack,
zapier,
hubspot,
zendesk,
pipedrive,
zoho,
apollo,
clay,
sheets
name
string
events
enum<string>[]
Available options:
recap.call.completed,
amd.call.completed,
trace.scorecard.completed,
transcription.job.completed,
cast.render.completed
status
enum<string>
Available options:
active,
error,
disabled
last_delivery_at
integer | null

Unix ms.

last_error
string | null
config
object

Kind-specific config with secrets redacted (URLs masked, tokens shortened).

created_at
integer

Unix ms.

updated_at
integer

Unix ms.