# Get Workspace Audit Logs

GET https://api.webflow.com/v2/workspaces/{workspace_id_or_slug}/audit_logs

Get audit logs for a workspace.

<Warning title="Enterprise & workspace API token only">This endpoint requires an Enterprise workspace and a workspace token with the `workspace_activity:read` scope. Create a workspace token from your workspace dashboard integrations page to use this endpoint.</Warning>

Required scope | `workspace_activity:read`


Reference: https://developers.webflow.com/data/reference/enterprise/workspace-audit-logs/get

## OpenAPI Specification

```yaml
openapi: 3.1.1
info:
  title: Get Workspace Audit Logs
  version: endpoint_workspaces/auditLogs.get-workspace-audit_logs
paths:
  /workspaces/{workspace_id_or_slug}/audit_logs:
    get:
      operationId: get-workspace-audit-logs
      summary: Get Workspace Audit Logs
      description: >
        Get audit logs for a workspace.


        <Warning title="Enterprise & workspace API token only">This endpoint
        requires an Enterprise workspace and a workspace token with the
        `workspace_activity:read` scope. Create a workspace token from your
        workspace dashboard integrations page to use this endpoint.</Warning>


        Required scope | `workspace_activity:read`
      tags:
        - - subpackage_workspaces
          - subpackage_workspaces/auditLogs
      parameters:
        - name: workspace_id_or_slug
          in: path
          description: Unique identifier or slug for a Workspace
          required: true
          schema:
            type: string
            format: objectid
        - name: limit
          in: query
          description: 'Maximum number of records to be returned (max limit: 100)'
          required: false
          schema:
            type: integer
        - name: offset
          in: query
          description: >-
            Offset used for pagination if the results have more than limit
            records
          required: false
          schema:
            type: integer
        - name: sortOrder
          in: query
          description: Sorts the results by asc or desc
          required: false
          schema:
            $ref: >-
              #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetParametersSortOrder
        - name: eventType
          in: query
          description: The event type to filter by
          required: false
          schema:
            $ref: >-
              #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetParametersEventType
        - name: from
          in: query
          description: The start date to filter by
          required: false
          schema:
            type: string
            format: date-time
        - name: to
          in: query
          description: The end date to filter by
          required: false
          schema:
            type: string
            format: date-time
        - name: Authorization
          in: header
          description: >-
            Bearer authentication of the form `Bearer <token>`, where token is
            your auth token.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: A list of workspace audit logs
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/workspaces_audit_logs_get-workspace-audit_logs_Response_200
        '401':
          description: >-
            Provided access token is invalid or does not have access to
            requested resource
          content: {}
        '403':
          description: Forbidden
          content: {}
        '404':
          description: Requested resource not found
          content: {}
        '429':
          description: >-
            The rate limit of the provided access_token has been reached. Please
            have your application respect the X-RateLimit-Remaining header we
            include on API responses.
          content: {}
        '500':
          description: We had a problem with our server. Try again later.
          content: {}
components:
  schemas:
    WorkspacesWorkspaceIdOrSlugAuditLogsGetParametersSortOrder:
      type: string
      enum:
        - value: asc
        - value: desc
    WorkspacesWorkspaceIdOrSlugAuditLogsGetParametersEventType:
      type: string
      enum:
        - value: user_access
        - value: custom_role
        - value: workspace_membership
        - value: site_membership
        - value: workspace_invitation
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf0Actor:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf0Workspace:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf0EventType:
      type: string
      enum:
        - value: user_access
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf0EventSubType:
      type: string
      enum:
        - value: login
        - value: logout
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf0PayloadMethod:
      type: string
      enum:
        - value: dashboard
        - value: sso
        - value: api
        - value: google
    User access:
      type: object
      properties:
        method:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf0PayloadMethod
        location:
          type: string
          description: The geolocation based on the logged IP address
        ipAddress:
          type: string
          description: The captured IP address of the user
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems0:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        actor:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf0Actor
        workspace:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf0Workspace
        eventType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf0EventType
        eventSubType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf0EventSubType
        payload:
          $ref: '#/components/schemas/User access'
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf1Actor:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf1Workspace:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf1EventType:
      type: string
      enum:
        - value: custom_role
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf1EventSubType:
      type: string
      enum:
        - value: role_created
        - value: role_updated
        - value: role_deleted
    Custom role:
      type: object
      properties:
        roleName:
          type: string
          description: The name of the custom role
        previousRoleName:
          type: string
          description: The previous name of the custom role
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems1:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        actor:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf1Actor
        workspace:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf1Workspace
        eventType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf1EventType
        eventSubType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf1EventSubType
        payload:
          $ref: '#/components/schemas/Custom role'
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2Actor:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2Workspace:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2EventType:
      type: string
      enum:
        - value: workspace_membership
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2EventSubType:
      type: string
      enum:
        - value: user_added
        - value: user_removed
        - value: user_role_updated
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2PayloadTargetUser:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2PayloadMethod:
      type: string
      enum:
        - value: sso
        - value: dashboard
        - value: admin
        - value: access_request
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2PayloadUserType:
      type: string
      enum:
        - value: member
        - value: guest
        - value: reviewer
        - value: client
    Workspace membership:
      type: object
      properties:
        targetUser:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2PayloadTargetUser
        method:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2PayloadMethod
        userType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2PayloadUserType
        roleName:
          type: string
          description: The name of the role that was assigned to the user
        previousRoleName:
          type: string
          description: The previous role that the user had
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems2:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        actor:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2Actor
        workspace:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2Workspace
        eventType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2EventType
        eventSubType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf2EventSubType
        payload:
          $ref: '#/components/schemas/Workspace membership'
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3Actor:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3Workspace:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3EventType:
      type: string
      enum:
        - value: site_membership
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3EventSubType:
      type: string
      enum:
        - value: user_added
        - value: user_removed
        - value: user_role_updated
        - value: user_granular_access_updated
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadSite:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadTargetUser:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadMethod:
      type: string
      enum:
        - value: sso
        - value: invite
        - value: scim
        - value: dashboard
        - value: admin
        - value: access_request
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadUserType:
      type: string
      enum:
        - value: member
        - value: guest
        - value: reviewer
        - value: client
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadGranularAccessType:
      type: string
      enum:
        - value: cms
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadGranularAccess:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        type:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadGranularAccessType
        restricted:
          type: boolean
    Site membership:
      type: object
      properties:
        site:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadSite
        targetUser:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadTargetUser
        method:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadMethod
        userType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadUserType
        roleName:
          type: string
          description: The name of the role that was assigned to the user
        previousRoleName:
          type: string
          description: The previous role that the user had
        granularAccess:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3PayloadGranularAccess
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems3:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        actor:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3Actor
        workspace:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3Workspace
        eventType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3EventType
        eventSubType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf3EventSubType
        payload:
          $ref: '#/components/schemas/Site membership'
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4Actor:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4Workspace:
      type: object
      properties:
        id:
          type: string
        slug:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4EventType:
      type: string
      enum:
        - value: workspace_invitation
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4EventSubType:
      type: string
      enum:
        - value: invite_sent
        - value: invite_accepted
        - value: invite_updated
        - value: invite_canceled
        - value: invite_declined
        - value: access_request_accepted
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4PayloadTargetUser:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4PayloadMethod:
      type: string
      enum:
        - value: sso
        - value: dashboard
        - value: admin
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4PayloadUserType:
      type: string
      enum:
        - value: member
        - value: guest
        - value: reviewer
        - value: client
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4PayloadTargetUsersItems:
      type: object
      properties:
        id:
          type: string
        email:
          type: string
    Workspace invitation:
      type: object
      properties:
        targetUser:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4PayloadTargetUser
        method:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4PayloadMethod
        userType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4PayloadUserType
        roleName:
          type: string
          description: The name of the role that was assigned to the user
        previousRoleName:
          type: string
          description: The previous role that the user had
        targetUsers:
          type: array
          items:
            $ref: >-
              #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4PayloadTargetUsersItems
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems4:
      type: object
      properties:
        timestamp:
          type: string
          format: date-time
        actor:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4Actor
        workspace:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4Workspace
        eventType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4EventType
        eventSubType:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItemsOneOf4EventSubType
        payload:
          $ref: '#/components/schemas/Workspace invitation'
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems:
      oneOf:
        - $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems0
        - $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems1
        - $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems2
        - $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems3
        - $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems4
    WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaPagination:
      type: object
      properties:
        limit:
          type: number
          format: double
          description: The limit used for pagination
        offset:
          type: number
          format: double
          description: The offset used for pagination
        total:
          type: number
          format: double
          description: The total number of records
      required:
        - limit
        - offset
        - total
    workspaces_audit_logs_get-workspace-audit_logs_Response_200:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: >-
              #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaItemsItems
        pagination:
          $ref: >-
            #/components/schemas/WorkspacesWorkspaceIdOrSlugAuditLogsGetResponsesContentApplicationJsonSchemaPagination
          description: Pagination object

```

## SDK Code Examples

```python
import datetime

from webflow import Webflow

client = Webflow(
    access_token="YOUR_ACCESS_TOKEN",
)
client.workspaces.audit_logs.get_workspace_audit_logs(
    workspace_id_or_slug="hitchhikers-workspace",
    limit=1,
    offset=1,
    sort_order="asc",
    event_type="user_access",
    from_=datetime.datetime.fromisoformat(
        "2025-06-22 16:00:31+00:00",
    ),
    to=datetime.datetime.fromisoformat(
        "2025-07-22 16:00:31+00:00",
    ),
)

```

```typescript
import { WebflowClient } from "webflow-api";

const client = new WebflowClient({ accessToken: "YOUR_ACCESS_TOKEN" });
await client.workspaces.auditLogs.getWorkspaceAuditLogs("hitchhikers-workspace", {
    limit: 1,
    offset: 1,
    sortOrder: "asc",
    eventType: "user_access",
    from: new Date("2025-06-22T16:00:31.000Z"),
    to: new Date("2025-07-22T16:00:31.000Z")
});

```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.webflow.com/v2/workspaces/hitchhikers-workspace/audit_logs?limit=100&offset=0&eventType=user_access&from=2025-06-22T16%3A00%3A31Z&to=2025-07-22T16%3A00%3A31Z"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.webflow.com/v2/workspaces/hitchhikers-workspace/audit_logs?limit=100&offset=0&eventType=user_access&from=2025-06-22T16%3A00%3A31Z&to=2025-07-22T16%3A00%3A31Z")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
HttpResponse<String> response = Unirest.get("https://api.webflow.com/v2/workspaces/hitchhikers-workspace/audit_logs?limit=100&offset=0&eventType=user_access&from=2025-06-22T16%3A00%3A31Z&to=2025-07-22T16%3A00%3A31Z")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.webflow.com/v2/workspaces/hitchhikers-workspace/audit_logs?limit=100&offset=0&eventType=user_access&from=2025-06-22T16%3A00%3A31Z&to=2025-07-22T16%3A00%3A31Z', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
var client = new RestClient("https://api.webflow.com/v2/workspaces/hitchhikers-workspace/audit_logs?limit=100&offset=0&eventType=user_access&from=2025-06-22T16%3A00%3A31Z&to=2025-07-22T16%3A00%3A31Z");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.webflow.com/v2/workspaces/hitchhikers-workspace/audit_logs?limit=100&offset=0&eventType=user_access&from=2025-06-22T16%3A00%3A31Z&to=2025-07-22T16%3A00%3A31Z")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```