# Get activity types

You can return information about all of your activity types.

GET /activity-types/

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
 curl -X GET
      -H "Authorization: Token <your_64_char_api_key> "
      "https://<your_app_subdomain>.user.com/api/public/activity-types/"

# Response

  {
      "count": 7,
      "next": null,
      "previous": null,
      "results": [
          {
              "id": 38692,
              "icon": "flag",
              "name": "Task"
          },
          {
              "id": 38691,
              "icon": "users4",
              "name": "Meeting"
          },
          {
              "id": 38693,
              "icon": "fork-knife",
              "name": "Lunch"
          },
          {
              "id": 38690,
              "icon": "envelop2",
              "name": "E-mail"
          },
          {
              "id": 38694,
              "icon": "clock3",
              "name": "Deadline"
          },
          {
              "id": 38689,
              "icon": "phone2",
              "name": "Call"
          },
          {
              "id": 40130,
              "icon": "home",
              "name": "Custom"
          }
      ]
  }