Team
Team Access Logs
Gets the access logs for the current team.
Authorization
slackAuth adminAuthorizationBearer <token>
In: header
Scope: admin
Query Parameters
token*string
Authentication token. Requires scope: admin
before?string
End of time range of logs to include in results (inclusive).
count?string
page?string
Header Parameters
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Response Body
application/json
application/json
curl -X GET "https://example.com/team.accessLogs?token=string" \ -H "Content-Type: application/x-www-form-urlencoded"{ "logins": [ { "count": 0, "country": "string", "date_first": 0, "date_last": 0, "ip": "string", "isp": "string", "region": "string", "user_agent": "string", "user_id": "string", "username": "string" } ], "ok": "True", "paging": { "count": 0, "page": 0, "pages": 0, "per_page": 0, "spill": 0, "total": 0 }}
