# Get a list of user actions

`GET /user_actions.json`

Authentication: no security requirement declared for this operation.

Parameters:

- `offset` (query, integer, required)
  Type: integer

- `username` (query, string, required)
  Type: string

- `filter` (query, string, required)
  Type: string

Responses:

- 200: response

Content type: application/json

Type: any

- `user_actions` (required)
  Type: Array<object>
  
  Items:
    Type: object
    
    - `excerpt` (required)
      Type: string
    
    - `action_type` (required)
      Type: integer
    
    - `created_at` (required)
      Type: string
    
    - `avatar_template` (required)
      Type: string
    
    - `acting_avatar_template` (required)
      Type: string
    
    - `slug` (required)
      Type: string
    
    - `topic_id` (required)
      Type: integer
    
    - `target_user_id` (required)
      Type: integer
    
    - `target_name` (required)
      Type: string; nullable
    
    - `target_username` (required)
      Type: string
    
    - `post_number` (required)
      Type: integer
    
    - `post_id` (required)
      Type: string; nullable
    
    - `username` (required)
      Type: string
    
    - `name` (required)
      Type: string; nullable
    
    - `user_id` (required)
      Type: integer
    
    - `acting_username` (required)
      Type: string
    
    - `acting_name` (required)
      Type: string; nullable
    
    - `acting_user_id` (required)
      Type: integer
    
    - `title` (required)
      Type: string
    
    - `deleted` (required)
      Type: boolean
    
    - `hidden` (required)
      Type: string; nullable
    
    - `post_type` (required)
      Type: string; nullable
    
    - `action_code` (required)
      Type: string; nullable
    
    - `category_id` (required)
      Type: integer
    
    - `closed` (required)
      Type: boolean
    
    - `archived` (required)
      Type: boolean
    
    Additional properties: false

Additional properties: false

## Examples

### cURL

```bash
curl -X GET 'https://discourse.example.com/user_actions.json?offset=0&username=string&filter=string'
```

### JavaScript

```javascript
const response = await fetch('https://discourse.example.com/user_actions.json?offset=0&username=string&filter=string', {
  method: 'GET',
});

const data = await response.text();
```

### Python

```python
import requests

response = requests.get('https://discourse.example.com/user_actions.json?offset=0&username=string&filter=string')
print(response.text)
```
