Introduction
Getting started
Learn how to get ProxyHook set up in your project
ProxyHook allows you to collect data from a source and route it to multiple destinations with optional filters, formats and transformations. You're also able to create complex data APIs off your data through the use of SQL.
Quick start
To begin, first create a new Source in your dashboard and retrieve the endpoint provided. It should look something like
https://go.proxyhook.com/A817GH
This is a unique endpoint assigned to your account which can instantly handle any throughput and will response with a simple 1x1 pixel and a status code 200.
Collecting Events
To start tracking data against your new endpoint, send a POST call to it such as the example below.
curl --location 'https://go.proxyhook.com/fbeuyhgkowb8' \
--header 'Content-Type: application/json' \
--data-raw '{"first-name":"Jeff","last-name":"Dunham","company":"self","email":"[email protected]"}'
Within your dashboard you will see that the request counts will instantly increment and the raw logs of the request will appear under your Logs tab.
You should know!
To limit the volume of data logged you can customize the Log Settings to a specific sample rate. During setup it may be helpful to set it to 100% but adjust accordingly at scale.
Creating A Destination
ProxyHook allows you to specify a custom destination or leverage one of our built in integrations. In this quick example we will simply set up a new endpoint as our target destination by selecing the type as a Webhook when creating the new destination. Within the settings page you can specify the endpoint.
Much like Sources, Destinations allow you to set the Sample Rate within the Logs. Logs will also help you see the status codes and actual payloads being sent to this Destination.
Enable the Subscription
To being sending data from your source to your destination you need to create a new Subscription. Subscriptions connect one or more sources to one or more destinations. Once you've connected those data will instantly start flowing through and retries, analytics, logging,
That's it! You've just created your first subscription.