Update Task Completed

PUThttps://services.leadconnectorhq.com/contacts/{contactId}/tasks/{taskId}/completed
Update Task Completed
Request

Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.

Provide your bearer token in the Authorization header when making requests to protected resources.

Example: Authorization: Bearer 123
Path Parameters
contactId
string
required

Contact Id

Example:
sx6wyHhbFdRXh302LLNR
taskId
string
required

Task Id

Example:
ocQHyuzHvysMo5N5VsXc
Headers
Authorization
string
required

Access Token

Example:
Bearer 9c48df2694a849b6089f9d0d3513efe
Version
string
required

API Version

Allowed value:
2021-07-28
Body
completed
boolean
required
Example:
true

Responses

Successful response

task
object
id
string
Example:
lJpzYrWdpkC2hX6t2yue
title
string
Example:
test
body
string
Example:
testing
assignedTo
string
Example:
tesTUcmRxWrjqzJS8EjkxNKting
dueDate
string
Example:
2021-07-08T02:30:00.000Z
completed
boolean
Example:
true
contactId
string
Example:
lJpzYrWdpkC2hX6t2yue

Unprocessable Entity

statusCode
number
Example:
422
message
array[string]
Example:
["Unprocessable Entity"]
error
string
Example:
Unprocessable Entity

Unauthorized

statusCode
number
Example:
401
message
string
Example:
Invalid token: access token is invalid
error
string
Example:
Unauthorized

Bad Request

statusCode
number
Example:
400
message
string
Example:
Bad Request