GET
/
v1
/
activity
/
businesses
/
{businessId}
/
activities
curl --request GET \
  --url https://sandbox.layerfi.com/v1/activity/businesses/{businessId}/activities \
  --header 'Authorization: Bearer <token>'
[
  {
    "type": "Categorize_Transaction_Activity",
    "transactionId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "categorizationMethod": "SMS",
    "categorization": {
      "category": {
        "type": "AccountId",
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      }
    },
    "createdAt": "2023-11-07T05:31:56Z"
  }
]

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

Path Parameters

businessId
string
required

The UUID of the business to fetch activities for

Query Parameters

start_date
string

Filter activities by start date. Activities with a start date on or after this date will be included. ISO 8601 date format.

end_date
string

Filter activities by end date. Activities with an end date on or before this date will be included. ISO 8601 date format.

sort_order
enum<string>

Sort order for the activities. Defaults to ascending order

Available options:
ASC,
ASCENDING,
DES,
DESC,
DESCENDING

Response

200
application/json