# Get Activity List

## Get Activity List

<mark style="color:green;">`POST`</mark> `[PlatformAddress]/api/1.0/crm?action=getActivityList`

Get a list of activities.

#### Path Parameters

| Name    | Type    | Description                                              |
| ------- | ------- | -------------------------------------------------------- |
| venueId | integer | The unique id of the venue to which the activity belongs |

{% tabs %}
{% tab title="200 " %}

```
{
    "meta": {
        "totalResults": 1,
        "start": 0,
        "perPage": 100,
        "count": 1
    },
    "results": [
        {
            "id": 29,
            "venueId": 1,
            "leadId": 400,
            "subType": 1,
            "name": "ashik testing",
            "description": "<p>this is description</p> ",
            "purposeName": null,
            "purposeType": null,
            "location": "Gold Coast",
            "contactId": null,
            "companyId": null,
            "companyContactId": null,
            "assignedUserId": 1,
            "assignedUserFullName": "first last",
            "assignedUserEmail": "first.last@domain.com",
            "startDatetime": "2019-04-02 22:00:00 UTC",
            "endDatetime": "2019-04-02 23:00:00 UTC",
            "createdDate": "2019-04-11 07:34:16 UTC",
            "modifiedDate": "2019-04-11 07:34:16 UTC"
        }
    ]
}
```

{% endtab %}
{% endtabs %}

The result from this call will be a [collection](https://developer.ivvy.com/getting-started/interpreting-the-response/collections) of all the activities the user has access to. This call also accepts the [pagination](https://developer.ivvy.com/getting-started/interpreting-the-response/pagination) and [filter](https://developer.ivvy.com/getting-started/interpreting-the-response/filtering) properties.

## Example Request

`Get a specific venue’s activity List`

```javascript
{
  "venueId": "1",
}
```

## subType:

One of the following values:

* 1 = Meeting
* 2 = Call
* 3 = Email
