Skip to main content
GET
/
public
/
v1
/
companies
/
{companyId}
/
activity
Get a company's activity (buying-signal) timeline
curl --request GET \
  --url http://app.stairoids.com/api/public/v1/companies/{companyId}/activity \
  --header 'X-Api-Key: <api-key>'
{
  "data": [
    {
      "id": 991234,
      "signalType": "COMPANY_VISIT_WEBSITE",
      "causeId": "<string>",
      "causeType": "PAGE_VISIT",
      "weightOverride": 123,
      "timestamp": 1719500000000,
      "entityId": "4521",
      "entityType": "COMPANY",
      "owner": {
        "id": 30,
        "name": "Stairoids",
        "firstName": "Thomas",
        "lastName": "Berrens",
        "profilePicture": "<string>"
      },
      "channel": "website",
      "name": "Visited page: Pricing",
      "description": "<string>",
      "logo": "<string>",
      "useIcon": false
    }
  ],
  "page": 0,
  "size": 20,
  "totalElements": 137,
  "totalPages": 7
}

Authorizations

X-Api-Key
string
header
required

Your organization's public API key. Manage it at GET /api/user/public-api-key.

Path Parameters

companyId
integer<int64>
required

Query Parameters

page
integer<int32>
default:0
size
integer<int32>
default:20

Response

OK

A page of results.

data
object[]

The items on this page.

page
integer<int32>

Zero-based page index.

Example:

0

size
integer<int32>

Requested page size.

Example:

20

totalElements
integer<int64>

Total number of matching items across all pages.

Example:

137

totalPages
integer<int32>

Total number of pages.

Example:

7