Examples

curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" "https://[your-subdomain].trackdrive.com/api/v1/subscriptions?page=1&order=created_at"

Response Example

{
  "status": 200,
  "subscriptions": [
    {
      "id": 78429,
      "target_url": "https://hooks.zapier.com/hooks/standard/2489204/f4cbb291874a4ccgjkdslgjsdklfjskld/",
      "event": "new_call",
      "trigger_fields": {
        "offer_converted": true,
        "traffic_source_id": 7852903
      }
    }
  ],
  "checksum": "1cd19780894b4d3a30a9c715336fd709",
  "metadata": {
    "root": "subscriptions",
    "page": 1,
    "total_pages": 1,
    "per_page": 25,
    "total_count": 1,
    "next_cursor": 79
  }
}

Params

Param name
Description
page
Optional

Return the next page of results.

  • Must be a number.