| id |
string |
The unique id of the task |
| portalId |
string |
The hub id |
| eventDate |
long |
If task, When the task is set to be due, otherwise when the event is/ was scheduled for; in milliseconds since the epoch
|
| eventType |
string |
Type of calendar event; for tasks this is PUBLISHING_TASK, for COS Items, this is CONTENT, for social media events, this is SOCIAL |
| category |
string |
type of event; if the event type is PUBLISHING_TASK, it is one of BLOG_POST, EMAIL, LANDING_PAGE, CUSTOM; if event type is SOCIAL, it is one of twitter, facebook, linkedin, googlepluspages; if event type is CONTENT, it is one of email, recurring-email, blog-post, landing-page, legacy-page, site-page |
| categoryId |
integer |
for event type of PUBLISHING_TASK, a numeric value corresponding to the type of task; one of 3 (BLOG_POST), 2 (EMAIL), 1 (LANDING_PAGE), 0 (CUSTOM); for event type of SOCIAL, this is 0; if event type is CONTENT, it is one of 2 (email, recurring-email), 3 (blog-post), 1 (landing-page), 5 (legacy-page), 4 (site-page) |
| contentId |
long |
id value of the COS content object associated with the event, null for social or if nothing associated |
| state |
string |
for type publishing task, value of TODO or DONE, for others, a value of SCHEDULED, PUBLISHED, PUBLISHED_OR_SCHEDULED |
| campaignGuid |
string |
value of campaign GUID associated with Task |
| contentGroupId |
long |
The ID of the content group (aka blog) that the associated Blog Post belongs to, if any. Otherwise null. Only populated for single task GETs and for Blog Post Tasks. |
| topicIds |
list of longs |
The list of ids of topics associated with the associated Blog Post, if any. Otherwise null. Only populated for single task GETs and for Blog Post Tasks. |
| name |
string |
Name of Event |
| description |
string |
description of Event |
| url |
string |
public url of content item |
| ownerId |
long |
TASK - HubSpot id of the user that the task is assigned to |
| createdBy |
long |
HubSpot id of the user that the event was created by |
| previewKey |
string |
preview key of content object; used for showing previews of unpublished items. |
| socialUserName |
string |
SOCIAL - social media user name associated with event |
| socialDisplayName |
string |
SOCIAL - social media full name associate with event |
| avatarUrl |
string |
SOCIAL - url of image associated with social media event |
| recurring |
boolean |
is the event recurring? (true, false) |