# Get company activity items The endpoint is used to pull Activity Center events (audit). Endpoint: GET /v2/activity Version: 2 Security: bearer ## Query parameters: - `limit` (number) Number of records to return in the response - `sortBy` (string) Name of the field to sort by Enum: "timestamp", "event_type", "username" - `sortDirection` (string) The direction of the field sort specified by sort_by Enum: "ASC", "asc", "1", "DESC", "desc", "-1" - `next_token` (string) Token received from a previous request to obtain the next chunk of data - `fields` (string) Fields to include in response Enum: "event_id", "event_type", "description", "timestamp", "username", "event_category", "company" - `supplier_ids` (array) Search by supplier ids or company id - `event_categories` (array) Search by Event Categorys - `event_types` (array) Search by Event Types - `date_range_from` (string) A starting date for range filter in the format YYYY-MM-DD (define also 'date_range_to') - `date_range_to` (string) An ending date for range filter in the format YYYY-MM-DD (define also 'date_range_from') - `date_exact` (string) A specific date to filter by in the format YYYY-MM-DD - `account_ids` (array) Search by Account Ids - `segment_ids` (array) Search by Segment Ids ## Response 200 fields (application/json): - `event_id` (string) The id of the event - `event_type` (string) The type of the event - `description` (object) The description of the event - `segment` (object) The segment details of the event - `segment.id` (string) - `segment.name` (string) - `timestamp` (string) The timestamp of the event - `username` (string) The username of the user who triggered the event - `event_category` (string) The category of the event - `company` (object) The company details of the event - `account_id` (string) The account id of the event ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 404 fields ## Response 429 fields