Skip to content

List lead scoring rules

GET
/api/v1/scoring-rules
curl --request GET \
--url https://digize.com/api/v1/scoring-rules \
--header 'x-api-key: <x-api-key>'

The lead scoring rules, in order: what each looks at and the points it adds or takes. A contact’s score is what they add up to.

Needs the crm:read permission.

Done

Media typeapplication/json
Array<object>
object
id
required
string
name
required
string
kind
required

Field and tag give points while they hold; inactive once nothing has happened for days; opened, clicked, booked, paid and page_visited give points each time.

string
Allowed values: field tag opened clicked booked paid page_visited inactive
config
required
object
key

Field: the contact field’s key.

string
value

Field: the value it equals.

string
tag

Tag: the tag.

string
path

Page_visited: the path the page starts with, such as /pricing.

string
days

Inactive: days without activity.

number
points
required

Points it adds, or takes when negative.

number
maxPoints
required

For a rule that counts each time: the most it gives one contact.

number | null
enabled
required
boolean

Example

[
{
"kind": "field"
}
]

What was sent isn’t valid (invalid).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

No key, or one that’s unknown, off or expired.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

The key doesn’t have the permission this needs.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Nothing has that id (not_found).

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}

Over the rate limit; see retry-after.

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: invalid unauthorized forbidden not_found conflict too_large rate_limited unavailable internal
message
required
string
details
object
key
additional properties
any

Example

{
"error": {
"code": "invalid"
}
}