Skip to content
FacilydevelopersDashboard
Build with Facily
DocsREST APIsList Delinquency Events
Search the full API reference Esc to close

List Delinquency Events

Billing · REST API reference

Get support
GET/v1/facilities/{facility_id}/delinquency/events
The facility's (or the org's) escalation feed, newest first.

Authentication

Bearer API key or Facily session, subject to permissions and facility scope.

Authentication and scope

Request example

Replace bracketed path values with real IDs from your environment. The body, where shown, is generated from the schema and uses illustrative values.

cURL
curl --request GET \
  --url 'https://api.staging.facily.ai/v1/facilities/<FACILITY_ID>/delinquency/events' \
  --header "Authorization: Bearer $FACILY_API_KEY"
An example for building your request, not an executed call. Check required fields, allowed values, and environment configuration before sending.

Try a request

Staging · read-only

Explore your organization with a read-only request to staging.

Kept in this tab only. Sent directly to api.staging.facily.ai.

GET

Replace the {placeholders} in the path with your resource IDs.

Response
Your response will appear here.

Parameters

facility_idpath · string | stringrequired

Format: uuid

cursorquery · string | null
limitquery · integer

Default: 50 · Minimum: 1 · Maximum: 200

orderquery · string

Default: "desc" · Values: "asc", "desc"

case_idquery · string | null

Format: uuid

lease_idquery · string | null

Format: uuid

event_typequery · string | null
fromquery · string | null

Inclusive lower bound on created_at.

Format: date-time

toquery · string | null

Exclusive upper bound on created_at.

Format: date-time

Responses

Expand a status to inspect its schema. Generated examples show structure and synthetic values.

200Successful Response
JSON · generated example
{
  "data": [
    {
      "actions_taken": [
        {}
      ],
      "balance_at_event": "<VALUE_MATCHING_PATTERN>",
      "created_at": "2026-10-29T12:00:00Z",
      "created_by": "00000000-0000-4000-8000-000000000001",
      "event_type": "string",
      "id": "00000000-0000-4000-8000-000000000001",
      "is_manual_override": false,
      "lease_id": "00000000-0000-4000-8000-000000000001",
      "new_state": "string",
      "tenant_id": "00000000-0000-4000-8000-000000000001",
      "trigger_days": 0,
      "case_id": "00000000-0000-4000-8000-000000000001"
    }
  ],
  "meta": {
    "request_id": "string"
  },
  "pagination": {
    "has_more": false,
    "limit": 0,
    "cursor": "string",
    "total_count": 0
  },
  "metrics": {
    "cards": {},
    "computed_at": "2026-10-29T12:00:00Z",
    "is_stale": false,
    "scope": "facility"
  }
}

application/json

dataDelinquencyEventResponse[]required
Show data schema
actions_takenobject[]required

One record per action the stage carried out, with what it produced.

Show actions_taken schema
object
balance_at_eventstringrequired

The ledger balance at the moment the event fired.

Pattern: ^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$

case_idstring | null

The case it belongs to; null on imported pre-Step-10 rows.

Format: uuid

Show case_id schema
string | null

The case it belongs to; null on imported pre-Step-10 rows.

Variant 1: string
string
Variant 2: null
null
created_atstringrequired

When the row was written.

Format: date-time

created_bystringrequired

The actor the row is attributed to.

Format: uuid

event_typestringrequired

What happened, for example stage_fired, paused or manual_override.

idstringrequired

Unique identifier for this event.

Format: uuid

is_manual_overridebooleanrequired

True when an operator, not the sweep, caused the event.

lease_idstringrequired

The lease the event is against.

Format: uuid

new_statestringrequired

The state the case was in after the event.

notesstring | null

Free text: the operator's reason on a manual event.

Show notes schema
string | null

Free text: the operator's reason on a manual event.

Variant 1: string
string
Variant 2: null
null
previous_statestring | null

The state the case was in before the event.

Show previous_state schema
string | null

The state the case was in before the event.

Variant 1: string
string
Variant 2: null
null
stage_keystring | null

`{kind}:{index}` of the stage this event concerns.

Show stage_key schema
string | null

`{kind}:{index}` of the stage this event concerns.

Variant 1: string
string
Variant 2: null
null
tenant_idstringrequired

The tenant the event is against.

Format: uuid

trigger_daysintegerrequired

Days past due when the event fired.

metaMetarequired

Envelope metadata. Every response carries one.

Show meta schema
request_idstringrequired
metricsEmbeddedMetrics | null
Show metrics schema
EmbeddedMetrics | null
Variant 1: EmbeddedMetrics
cardsobjectrequired
computed_atstring | nullrequired

Format: date-time

Show computed_at schema
string | null
Variant 1: string
string
Variant 2: null
null
is_stalebooleanrequired
scopestringrequired

Values: "facility", "portfolio"

Variant 2: null
null
paginationPaginationBlockrequired

Pagination metadata for list responses.

Show pagination schema
cursorstring | null
Show cursor schema
string | null
Variant 1: string
string
Variant 2: null
null
has_morebooleanrequired
limitintegerrequired
total_countinteger | null
Show total_count schema
integer | null
Variant 1: integer
integer
Variant 2: null
null
400Validation error
JSON · generated example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "request_id": "string"
  }
}

application/json

errorErrorBodyrequired

The shape of error.* in an error response.

Show error schema
codestringrequired
detailsobject | null
Show details schema
object | null
Variant 1: object
object
Variant 2: null
null
messagestringrequired
metaMetarequired

Envelope metadata. Every response carries one.

Show meta schema
request_idstringrequired
401Unauthenticated
JSON · generated example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "request_id": "string"
  }
}

application/json

errorErrorBodyrequired

The shape of error.* in an error response.

Show error schema
codestringrequired
detailsobject | null
Show details schema
object | null
Variant 1: object
object
Variant 2: null
null
messagestringrequired
metaMetarequired

Envelope metadata. Every response carries one.

Show meta schema
request_idstringrequired
403Permission denied
JSON · generated example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "request_id": "string"
  }
}

application/json

errorErrorBodyrequired

The shape of error.* in an error response.

Show error schema
codestringrequired
detailsobject | null
Show details schema
object | null
Variant 1: object
object
Variant 2: null
null
messagestringrequired
metaMetarequired

Envelope metadata. Every response carries one.

Show meta schema
request_idstringrequired
404Not found
JSON · generated example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "request_id": "string"
  }
}

application/json

errorErrorBodyrequired

The shape of error.* in an error response.

Show error schema
codestringrequired
detailsobject | null
Show details schema
object | null
Variant 1: object
object
Variant 2: null
null
messagestringrequired
metaMetarequired

Envelope metadata. Every response carries one.

Show meta schema
request_idstringrequired
409Business logic error
JSON · generated example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "request_id": "string"
  }
}

application/json

errorErrorBodyrequired

The shape of error.* in an error response.

Show error schema
codestringrequired
detailsobject | null
Show details schema
object | null
Variant 1: object
object
Variant 2: null
null
messagestringrequired
metaMetarequired

Envelope metadata. Every response carries one.

Show meta schema
request_idstringrequired
503Temporary failure
JSON · generated example
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "request_id": "string"
  }
}

application/json

errorErrorBodyrequired

The shape of error.* in an error response.

Show error schema
codestringrequired
detailsobject | null
Show details schema
object | null
Variant 1: object
object
Variant 2: null
null
messagestringrequired
metaMetarequired

Envelope metadata. Every response carries one.

Show meta schema
request_idstringrequired
Continue exploringAll billing operations
Build something that works beautifully.

Facily API · Contract v1.200 · Reviewed October 29, 2026

List Delinquency Events | Facily Developers