IDB2B API icon

IDB2B API

AI Agents that turn conversations into customers for WhatsApp, Instagram & TikTok

Activity → Update

AI-generated

Summary

Update an existing activity belonging to either a company or a contact by specifying its ID and the parent entity ID. Optionally update fields such as subject, description, date/time, icon, and associated user.

Inputs

  • Scope (required) — Select whether the activity belongs to a company or a contact.
  • Company ID (required) — ID of the company owning the activity; required if scope is 'company'.
  • Contact ID (required) — ID of the contact owning the activity; required if scope is 'contact'.
  • Activity ID (required) — ID of the activity to update.
  • Additional Fields — Optional fields to update: subject, description, date & time (ISO 8601), icon identifier, and user ID associated with the activity.

Output shape

a single JSON object representing the updated activity

Updates use a PATCH HTTP request and send the changed fields in the request body. The response includes the updated activity data. If any optional fields are omitted or empty, they will not be changed. Authentication credentials must be provided. Errors are returned as JSON with error descriptions.

Links

Discussion