v1

latestOpenAPI 3.0.02026-08-04109109370.6 KB
Activities

Create an activity

post/activities

Request body

Example request

{
  "activities": [
    {
      "name": "Call with Andy Fowler",
      "description": "Discuss the new feature set",
      "note": "Andy was very excited about the new feature set",
      "location": "Andy's office",
      "activityType": "1-activityTypes",
      "transcription": "Speaker 1: Hello.\\n Speaker 2: Good morning!",
      "isLogged": true
    }
  ]
}

Response

OK

htmlUrlstring

The link to the entity within the app.

htmlUrlPathstring

The path to the entity within the app.

idstring

The API ID of this entity, formatted {integer}-{entityType}

agendastring

The list of things to accomplish in the activity

createdTimeinteger
endTimeinteger
deletedTimeinteger
hrefstring

The URL to fetch this contact.

isAllDayboolean

Whether the activity is an all-day event

isEditableboolean

Whether the activity can still be modified

isCancelledboolean

Whether the activity occurred as planned or not

isFlaggedboolean

Whether the activity is marked as important or not

isLoggedboolean

Whether the activity has occurred yet or not

isOverdueboolean

Whether the activity was supposed to be logged by now or not

loggedTimeinteger
modifiedTimeinteger
namestring

The name of the activity

startTimeinteger
isMediaLoggedboolean
transcriptionstring

The transcription on the activity

Example response

{
  "htmlUrl": "https://app.nutshell.com/lead/1006",
  "htmlUrlPath": "/lead/1006",
  "activities": [
    {
      "htmlUrl": "https://app.nutshell.com/lead/1006",
      "htmlUrlPath": "/lead/1006",
      "id": "3-contacts"
    }
  ],
  "id": "3-contacts",
  "agenda": "Sign a contract with Andy",
  "href": "https://app.nutshell.com/rest/contacts/3-contacts",
  "name": "Meeting with Andy",
  "transcription": "Speaker 1: Hello.\\n Speaker 2: Good morning!"
}