Conversions
Track a lead
Record an idempotent server-side lead and attribute it to a Biqli click.
POST
Track a lead
Use this endpoint from a trusted server when a customer signs up, submits a
qualified form, starts a trial, or completes another lead event.
The key selects the workspace. Do not send a workspace ID. Server tracking does
not use browser origins or the allowed-hostname list.
The response uses public IDs only. Deleted links continue to resolve through
their preserved conversion snapshot.
Authentication and permission
Send a secretbiqli_... workspace API key with Conversions: Write
(conversions.create). Do not use a browser publishable key or call this
endpoint from frontend code.
Request
The attributed click must be active, unexpired, and belong to the API key’s
workspace. A click from another workspace returns
404 resource_not_found.
Idempotency
Send a stableIdempotency-Key on every retry. Also send a stable eventId
when your system has one. Repeating the same identifier and payload returns the
original 201 response with Idempotency-Replayed: true and creates no new
event, realtime update, or webhook delivery.
Reusing an idempotency or event identifier with different data returns
409 idempotency_conflict. Idempotency records are retained for seven days;
the event identifier remains durably unique within its workspace and source.
Response
Errors
Authentication, errors, rate-limit headers, and request IDs follow the shared
API conventions.
Authorizations
A workspace API key beginning with biqli_.
Headers
Stable retry key. Reuse only for the same logical request and payload.
Required string length:
1 - 255Integration name recorded in API diagnostics.
Maximum string length:
64Integration version recorded in API diagnostics.
Maximum string length:
64Caller-generated request identifier for tracing.
Required string length:
1 - 100Pattern:
^[A-Za-z0-9._:-]+$Body
application/json
Required string length:
1 - 255Required string length:
1 - 100Required string length:
1 - 100Pattern:
^[A-Za-z0-9_-]+$Maximum string length:
255Maximum string length:
254Maximum string length:
2048Pattern:
^https?://Required string length:
1 - 100Pattern:
^[A-Za-z0-9](?:[A-Za-z0-9._:-]*[A-Za-z0-9])?$Required range:
1 <= x <= 100Pattern:
Z$
