Skip to main content
PUT

Update a lead task

Scope:crm:deals.write
https://api.holded.com/api/v2/leads/{leadId}/tasks

Updates an existing task for a lead.

Parameters

Path parameters

leadIdstringrequired

Lead ID

Request body

object
task_idstringrequired

Task ID

namestringrequired

Task name

Request

python
import requests

url = "https://api.holded.com/api/v2/leads/{leadId}/tasks"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

payload = {
    "task_id": "string",
    "name": "string"
}
response = requests.put(url, headers=headers, json=payload)
print(response.json())

Responses

Response

json
{
  "id": "string"
}

Success responses

200Task updatedapplication/json
object
idstring

Error responses

400Bad requestapplication/json
401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Lead not foundapplication/json
429Rate limit exceededapplication/json