← Back to API Reference overview

Links

Endpoints for managing shortened links in Linkbreakers. These endpoints allow you to create, retrieve, list, and delete shortened links for your workspace.

Shortcut: ⌘K
GET/v1/links/{linkId}/lead-score/{eventId}Requires auth

#Get the stored lead score for an event

Returns the score exactly as it was recorded when the visitor came through, together with the factor breakdown and the weighting the link was scored on. Nothing is recalculated here.

#Parameters

path parameters

linkId

stringRequiredpath

The ID of the link (UUID)

eventId

stringRequiredpath

The ID of the event for which to generate the explanation (UUID)

#Response

200

Everything worked as expected.

breakdown

object

Breakdown of lead scoring factors

leadScore

integer (int32)

The lead score recorded for this event

recurringScans

integer (int32)

Number of recurring scans from this device+link combination

scoringContext

string

How this link was classified when its weighting was derived, for example "b2b_enterprise" or "community_social".

scoringRationale

string

Plain explanation of why the link is weighted the way it is. Empty when the link scores on the deterministic weighting.

#Error response

400-599

All endpoints may return an unexpected error payload when a request cannot be processed.

error

objectRequired

Wrapped error response.