# List activities

> An opportunity's history, newest first.

Source: https://docs.mycrmsim.com/docs/opportunities/list-opportunity-activities

```http
GET https://backend.mysmsgateway.app/api/v1/ext/opportunities/{id}/activities
```

- Category: myCRMSIM Opportunities / Opportunities
- Auth: Bearer access token
- Scope: `opportunities.read`

One row per change: created, stage changed, status changed, value changed and so on. `details` carries what changed.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | number | yes | Opportunity id. Example: `55` |
| `page` | query | number | no | Default 1. |
| `limit` | query | number | no | 1–100, default 20. Anything else is a 400. |

## Response 200

OK

```json
{
  "success": true,
  "data": [
    {
      "id": 2,
      "type": "stage_changed",
      "from_stage": {
        "id": 8,
        "name": "New lead"
      },
      "to_stage": {
        "id": 9,
        "name": "Qualified"
      },
      "from_status": null,
      "to_status": null,
      "details": null,
      "created_at": "2026-10-27T10:00:00.000Z"
    },
    {
      "id": 1,
      "type": "created",
      "from_stage": null,
      "to_stage": {
        "id": 8,
        "name": "New lead"
      },
      "from_status": null,
      "to_status": "open",
      "details": {
        "to_value": 1200
      },
      "created_at": "2026-10-27T09:00:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 20,
    "max_limit": 100,
    "total": 2,
    "total_pages": 1
  }
}
```

## Response 401

Missing or invalid token

```json
{
  "success": false,
  "message": "Invalid or expired access token."
}
```

## Response 403

Missing scope

```json
{
  "success": false,
  "message": "Missing scope(s): opportunities.read. This integration was granted: …"
}
```

## Response 404

Opportunity does not exist or is not owned by the installer

```json
{
  "success": false,
  "message": "Opportunity not found or not accessible to this token"
}
```
