curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X DELETE -d '{"target_url": "https://hooks.zapier.com/<unique_path>"}' https://[your-subdomain].trackdrive.com/api/v1/subscriptions
{
"status" : 200,
"errors" : {},
"subscription" : {
"id" : 12903879,
"target_url" : "https:\/\/hooks.zapier.com\/hooks\/standard\/535583948\/f4cbb291874a4cc1a97e10csdfdsscd\/",
"event" : "new_call",
"trigger_fields" : {
"offer_converted" : true,
"traffic_source_id" : 9210831092
}
},
"checksum" : "4d84e664cccd79edc08cde90f16244eb",
"metadata" : {
"root" : "subscription"
}
}
Param name |
Description
Validations
|
---|---|
target_url Optional |
The unique auto-generated subscription URL where Trackdrive will send JSON data when the event is triggered.
|