---
title: "GET /team.accessLogs"
method: GET
path: "/team.accessLogs"
tags: ["team"]
---

# GET /team.accessLogs

`GET /team.accessLogs`

Gets the access logs for the current team.

## Query parameters

- `token` string, required
- `before` string
- `count` string
- `page` string

## Response `200`

This response demonstrates pagination and two access log entries.

- object — Schema for successful response from team.accessLogs method
  - `logins` object[], required
    - `count` integer, required
    - `country` string, nullable, required
    - `date_first` integer, required
    - `date_last` integer, required
    - `ip` string, nullable, required
    - `isp` string, nullable, required
    - `region` string, nullable, required
    - `user_agent` string, required
    - `user_id` string, required
    - `username` string, required
  - `ok` true, required
  - `paging` ObjsPaging, required
    - `count` integer
    - `page` integer, required
    - `pages` integer
    - `per_page` integer
    - `spill` integer
    - `total` integer, required

## Other responses

- `default` — A workspace must be on a paid plan to use this method, otherwise the `paid_only` error is thrown:

---

[API](https://skmtc.net/slack/apis/web-api.md) · [All operations](https://skmtc.net/slack/apis/web-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/slack/web-api/revisions/7b951462b44f/schema)
