Skip to main content
POST
/
v1
/
workspaces
/
{workspaceUuid}
/
zapier
/
hooks
Subscribe a Zapier webhook
curl --request POST \
  --url https://api.snitcher.com/v1/workspaces/{workspaceUuid}/zapier/hooks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "hookUrl": "https://hooks.zapier.com/hooks/catch/123456/abcdef/",
  "event": "new_lead"
}
'
{
  "success": true,
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "hookUrl": "<string>",
    "event": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Enter your personal access token (PAT) to authenticate

Path Parameters

workspaceUuid
string<uuid>
required

The UUID of the workspace

Body

application/json
hookUrl
string<url>
required
Example:

"https://hooks.zapier.com/hooks/catch/123456/abcdef/"

event
enum<string>
Available options:
new_lead,
new_session,
contacts_revealed
Example:

"new_lead"

Response

Webhook subscribed successfully

success
boolean
Example:

true

data
object