Activities

Read the activity feed for one record

Changed on

Returns what happened to a single record, newest first. A feed carries only that record's own activities.

pagination reports the totals for the whole filtered result rather than for the page.

get/activities

Request

  • Base URL
    https://api.adfin.com/api
  • URL
    https://api.adfin.com/api/activities
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.staging.adfin.com/api/oauth2/token
    • or OAuth 2
      Client credentials
      Token URL: https://api.adfin.com/api/oauth2/token

Query parameters

entityType'INVOICE' | 'PAYMENT_REQUEST' | 'CUSTOMER' | 'SCHEDULE'

The kind of record an activity belongs to.

Example:INVOICE

The kind of record to read the feed for. Required, together with entityId.

entityIdstring

The record to read the feed for, as a UUID. Required, together with entityType.

Example:3fa85f64-5717-4562-b3fc-2c963f66afa6
typestring[]

Only return activities of these kinds. Repeat the parameter to name more than one, combined with OR. Omit it to return every kind.

[
  "INVOICE_PAID"
]
minCreationTimestring date-time

Only return activities that happened at or after this instant. Inclusive.

Example:2026-08-01T00:00:00Z
maxCreationTimestring date-time

Only return activities that happened at or before this instant. Inclusive.

Example:2026-08-31T23:59:59Z
pageinteger

Which page to return, counting from one.

Example:1
sizeinteger

How many activities to return per page. A request for more than the maximum is refused.

Example:50
sort'creationTime,desc' | 'creationTime,asc'

How to order the page.

Response

The requested page of activities.

Changes

    • warning

      added the new DEBT_RECOVERY_STATUS_CHANGED enum value to the // response property for the response status

    • info

      added the enum value DEBT_RECOVERY_STATUS_CHANGED to the property items/ of the query request parameter type

    • warning

      added the new AI_PHONE_CALL_ENDED enum value to the // response property for the response status

    • info

      added the enum value AI_PHONE_CALL_ENDED to the property items/ of the query request parameter type