Tasks not created via API


#1

I am using the task api to create tasks my json looks like the following:

{
“eventDate”: Time.now.to_i * 1000 + (27246060*1000),
“state”: ‘TODO’,
“name”: “Follow up with lead”,
“category”: “CUSTOM”,
“description”: “Follow up with the following lead”,
“ownerId”: ownerId
}

I receive a 200 response back but the task is not showing in the CRM. Any ideas?


#2

@jdewolf06

Based on that payload it looks like you’re using the Calendar API and it sounds like you should be using the engagements API:

Sebastian


#3

This was it, thank you for your help!