Integrations
Webhooks, destinations, notification channels and log drains. Learn what each one does and when to use it.
An integration sends data from your workspace to another system. AffFast has four kinds. Each kind has its own API resource. The dashboard shows all four on one page, Integrations. The top of the page is the Connected list. The Catalog below it has a card for each thing that you can connect.
Which kind to use
| Kind | What it sends | Where it sends it | Use it to |
|---|---|---|---|
| Webhook | Raw events as signed HTTPS requests. | The URL of your own server. | Run your own code when a conversion, a payout or a connection changes. |
| Destination | The conversions, payouts, programs and events, as rows or analytics events. | Google Sheets, BigQuery or Google Analytics 4. | Keep a copy of your data in a tool that you already use. |
| Notification channel | Short messages and the daily digest for people. | Slack, Telegram, email, Discord, Teams, ntfy and more. | Tell people about events, for example a new conversion or a failed sync. |
| Log drain | The logs of your workspace: API requests, deliveries, sync runs and clicks. | Your log service, for example Datadog, Axiom, Loki, S3 or Sentry. | Search and keep the logs of your workspace in your own log service. |
Postbacks are not in this list. A postback is inbound: a network calls AffFast. See postbacks.
No generic HTTP destination
There is no destination type for "any HTTP URL". To send raw events to your own server, use a webhook. A webhook has a signed request, a signing secret, a delivery log, retries and a replay. A destination does not have these. Each destination type is a ready-made connection to one tool. It writes in the format of that tool.
The catalog
The catalog has these groups:
| Group | Cards |
|---|---|
| Notifications | Slack, Telegram, email |
| Data sync | Google Sheets, BigQuery |
| Analytics | Google Analytics 4 |
| Developer | Webhook endpoint, and each log drain type |
The dashboard reads the cards from the API: GET /v1/destination_types, GET /v1/notification_channel_types and GET /v1/log_drain_types. The group of a destination type and of a channel type comes from its category. A new type shows in the catalog with no change in the dashboard.
Log drains need the Business plan in live mode. On another plan, the log drain cards show a Business plan badge and a link to the billing page. Test mode works on all plans.
Permissions
An owner or an admin can connect, change, pause and delete an integration. A member can read the list and the delivery logs. An API key needs the write scope of the kind: webhooks:write, destinations:write, notification_channels:write or log_drains:write.
Address in the dashboard
The Integrations page is at /{workspace}/{live|test}/integrations. {workspace} is the slug of your workspace. Webhooks, destinations, notification channels and log drains belong to one mode, so the mode is in the address. A copied link opens the same workspace and mode for each member.