Skip to main content
DELETE
/
api
/
v1
/
zapier
/
unsubscribe
/
{eventType}
Unsubscribe from Webhook Event
curl --request DELETE \
  --url https://api.ugift.me/api/v1/zapier/unsubscribe/{eventType} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "webhookUrl": "https://hooks.zapier.com/hooks/catch/123456/abc123/"
}
'
{
  "success": true,
  "eventType": "voucher.sent",
  "unsubscribed": true,
  "businessId": "business_123456789"
}

Authorizations

X-API-Key
string
header
required

Your uGiftme business API key for authentication.

Format: UUID format (e.g., 6b4e22b2-c0a5-4c7a-888a-b38eac20b454) Required: All endpoints require this header Permissions: Must have business-level access with Zapier integration permissions

Example: X-API-Key: 6b4e22b2-c0a5-4c7a-888a-b38eac20b454

Path Parameters

eventType
enum<string>
required

The event type to unsubscribe from

Available options:
voucher.sent,
voucher.redeemed,
payment.failed,
wallet.funded

Body

application/json
webhookUrl
string<uri>
required

The Zapier webhook URL to unsubscribe from

Example:

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

Response

Successfully unsubscribed from event

success
boolean
required

Indicates if the unsubscription was successful

Example:

true

eventType
string
required

The event type that was unsubscribed from

Example:

"voucher.sent"

unsubscribed
boolean
required

Whether the unsubscription was successful

Example:

true

businessId
string
required

The business ID associated with the unsubscription

Example:

"business_123456789"