AdHub App icon

AdHub App

Manage AdHub leads, activities, sources, statuses, tags, and custom fields

Task → Update

AI-generated

Summary

Update an existing task identified by its Task ID, specifying the update details either as form fields or raw JSON.

Inputs

  • Task ID (required) — Identifier of the task to update.
  • Body Type (required) — Format of the update payload, either 'Form' for individual fields or 'JSON' for a raw JSON body.
  • Body (JSON) — Raw JSON object representing the task update, used when Body Type is 'JSON'.
  • Title (required) — Title of the task, required when using Form body type.
  • Type (required) — Task type (call, email, meeting, etc.), required when using Form body type.
  • Due Date — Due date in YYYY-MM-DD format, optional when using Form body type.
  • Due Time — Due time in HH:mm format, optional when using Form body type.
  • Notes — Additional notes for the task, optional when using Form body type.
  • Updated At — Optional optimistic locking timestamp to prevent conflicting updates.

Output shape

a JSON object representing the updated task's data as returned from the API

The output reflects the state of the task after update; if the API rejects the optimistic lock timestamp, the update may fail with an error.

Links

Discussion