IDB2B API icon

IDB2B API

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

Activity → Delete

AI-generated

Summary

Delete a specific activity by its ID, scoped either to a company or a contact, by providing the activity's ownership context and identifier.

Inputs

  • Scope (required) — Select whether the activity belongs to a company or a contact.
  • Company ID (required) — ID of the company that owns the activity (required if scope is company).
  • Contact ID (required) — ID of the contact that owns the activity (required if scope is contact).
  • Activity ID (required) — ID of the activity to delete.

Output shape

a single JSON object indicating deletion status

The output is an object with { deleted: true } on success, indicating the activity was deleted. No detailed data is returned.

Links

Discussion