Create
POST {{baseUrl}}/crm/v3/objects/tasks
Create a task with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard tasks is provided.
Request Body
{"associations"=>[{"to"=>{"id"=>"<string>"}, "types"=>[{"associationCategory"=>"INTEGRATOR_DEFINED", "associationTypeId"=>"<integer>"}, {"associationCategory"=>"USER_DEFINED", "associationTypeId"=>"<integer>"}]}, {"to"=>{"id"=>"<string>"}, "types"=>[{"associationCategory"=>"HUBSPOT_DEFINED", "associationTypeId"=>"<integer>"}, {"associationCategory"=>"INTEGRATOR_DEFINED", "associationTypeId"=>"<integer>"}]}], "properties"=>{"sit__57"=>"<string>", "eiusmod_3c_"=>"<string>", "cillum_f"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"createdAt":"\u003cdateTime\u003e","id":"\u003cstring\u003e","properties":{"nulla_13":"\u003cstring\u003e","consectetur_333":"\u003cstring\u003e","ullamco_63":"\u003cstring\u003e"},"updatedAt":"\u003cdateTime\u003e","propertiesWithHistory":{"consectetur__":[{"sourceType":"\u003cstring\u003e","timestamp":"\u003cdateTime\u003e","value":"\u003cstring\u003e","sourceId":"\u003cstring\u003e","sourceLabel":"\u003cstring\u003e","updatedByUserId":"\u003cinteger\u003e"},{"sourceType":"\u003cstring\u003e","timestamp":"\u003cdateTime\u003e","value":"\u003cstring\u003e","sourceId":"\u003cstring\u003e","sourceLabel":"\u003cstring\u003e","updatedByUserId":"\u003cinteger\u003e"}],"eiusmode07":[{"sourceType":"\u003cstring\u003e","timestamp":"\u003cdateTime\u003e","value":"\u003cstring\u003e","sourceId":"\u003cstring\u003e","sourceLabel":"\u003cstring\u003e","updatedByUserId":"\u003cinteger\u003e"},{"sourceType":"\u003cstring\u003e","timestamp":"\u003cdateTime\u003e","value":"\u003cstring\u003e","sourceId":"\u003cstring\u003e","sourceLabel":"\u003cstring\u003e","updatedByUserId":"\u003cinteger\u003e"}],"commodo_75f":[{"sourceType":"\u003cstring\u003e","timestamp":"\u003cdateTime\u003e","value":"\u003cstring\u003e","sourceId":"\u003cstring\u003e","sourceLabel":"\u003cstring\u003e","updatedByUserId":"\u003cinteger\u003e"},{"sourceType":"\u003cstring\u003e","timestamp":"\u003cdateTime\u003e","value":"\u003cstring\u003e","sourceId":"\u003cstring\u003e","sourceLabel":"\u003cstring\u003e","updatedByUserId":"\u003cinteger\u003e"}]},"archived":"\u003cboolean\u003e","archivedAt":"\u003cdateTime\u003e"}