Skip to main content

Endpoint and authentication

The key must be active, belong to the request’s organization, and include the capi permission.

Request

The endpoint accepts batches. Each event is processed independently, and the response reports processed events and indexed errors.

Event names

Event names are not restricted to a fixed enum. Use a small, stable taxonomy and keep the same meaning across campaigns. Common names are:
  • purchase
  • lead
  • sign_up
  • booking
  • app_install

Attribution

Adgentek appends adgtclid to the advertiser landing URL. Preserve that value through the conversion flow and send it in the API’s click_id field. Conversions with a matching click_id use last-click attribution. Send attribution_window: "7d_click_1d_view" for a seven-day click lookback. The current handler applies a one-day click cutoff when the field is omitted. Events without a matching click can be ingested but are not attributed to that click.
The current endpoint does not guarantee idempotent retries from event_id. Do not automatically retry an ambiguous response unless your integration first confirms that the event was not recorded.

Errors