PUT /subscriptions/:id

Authorization Required
https://[your-subdomain].trackdrive.net/api/v1/subscriptions/:id

Update a subscription

Change the target_url, event, or trigger_fields on an existing subscription.

Params

Param name Description
target_url
Optional

The unique auto-generated subscription URL where Trackdrive will send JSON data when the event is triggered.

  • Must be a valid URL.

event
Optional

The event that will be triggered. EG: When a new call comes in.

  • Must be one of: new_call, call_ringing, call_forwarded, call_ended, call_changed, new_lead, lead_ended, lead_converted, lead_opted_out, lead_changed, incoming_text_message.