GET
/
v1
/
activity
Fetch platform activity summary
curl --request GET \
  --url https://sandbox.layerfi.com/v1/activity \
  --header 'Authorization: Bearer <token>'
[
  {
    "businesses_onboarded": 100,
    "businesses_sent_sms": 80,
    "businesses_engaged": 95,
    "businesses_engaged_last_30": 90,
    "new_businesses_engaged_last_30": 20,
    "businesses_engaged_last_90": 90,
    "new_businesses_engaged_last_90": 70,
    "categorized_by_sms_last_30": 1234,
    "categorized_by_api_last_30": 1234
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
string

Content-Type must be set to application/json

Response

200 - application/json
businesses_onboarded
integer

The total number of businesses on your platform onboarded onto Layer.

Example:

100

businesses_sent_sms
integer

The total number of businesses on your platform that have used Layer's SMS workflows.

Example:

80

businesses_engaged
integer

The total number of businesses on your platform that have used Layer's transaction categorization workflows.

Example:

95

businesses_engaged_last_30
integer

The number of businesses on your platform that have used Layer's transaction categorization workflows within the last 30 days.

Example:

90

new_businesses_engaged_last_30
integer

The number of businesses on your platform that have used Layer's transaction categorization workflows within the last 30 days and not previously.

Example:

20

businesses_engaged_last_90
integer

The number of businesses on your platform that have used Layer's transaction categorization workflows within the last 90 days.

Example:

90

new_businesses_engaged_last_90
integer

The number of businesses on your platform that have used Layer's transaction categorization workflows within the last 90 days and not previously.

Example:

70

categorized_by_sms_last_30
integer

The number of transactions categorized by Layer's SMS flows by businesses on your platform within the last 30 days

Example:

1234

categorized_by_api_last_30
integer

The number of transactions categorized by Layer's API by businesses on your platform within the last 30 days

Example:

1234