# Get activities

You can return a list of your activities.

GET /activities/

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl -X GET "http://<your_app_subdomain>.user.com/api/public/activities/"
-H "Authorization: Token   <your_64_char_api_key> " -H "Content-Type: application/json"

# Response

{
  "count": 1,
  "next": "http://example.com",
  "previous": "http://example.com",
  "results": [
    {
      "id": 1,
      "activity_type": 1,
      "name": "string",
      "datetime": "2019-08-24T14:15:22Z",
      "duration": 2147483648,
      "description": "string",
      "assigned_to": 1,
      "deal": 0,
      "person": 0,
      "company": 0,
      "done": true,
      "done_date": "2019-08-24T14:15:22Z",
      "created_by": 0,
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "custom_id": "string"
    }
  ]
}