# Get activity

You can return details about a specified activity.

GET /activities/:id/

Attributes Type Required Description
id integer yes A unique identifier for the activity which is given by User.com automatically.

# Request

  • CURL
  • JavaScript
  • PHP
  • Python
curl -X GET -H "Authorization: Token <your_64_char_api_key>"
-H "Accept: */*; version=2"
"https://<your_app_subdomain>.user.com/api/public/activities/:id/"

# Response

  {
      "id": 2216,
      "activity_type": 886,
      "name": "my activity",
      "datetime": "2017-06-22T08:41:00Z",
      "duration": 30,
      "description": "example description",
      "assigned_to": 398,
      "deal": 2812,
      "person": null,
      "company": 906,
      "done": false,
      "done_date": null,
      "created_by": 382,
      "created_at": "2017-06-22T08:41:21.651180Z",
      "updated_at": "2017-08-09T18:52:11.699822Z"
  }