Skip to main content

Update Activity

PATCH 

/api/crm/activities/:activity

Edit an activity. Only the fields you send change. Accepts the same fields as Create Activity, plus scope.

Required scope: customers:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Authentication: Requires Bearer token with the customers scope and the crm_activities.create permission.

Changing an activity needs ownership of it (or the manage-all CRM activities permission). A completed activity can only be changed by its owner within the account's edit window (completed_edit_window_days in CRM settings); otherwise the request returns 403.

Behaviour:

  • Changing customer_id clears the contact unless contact_id is sent too; changing the owner or the customer re-resolves the sales rep. A new owner other than you needs crm_activities.assign
  • Setting status completed stamps completed_at; status cancelled records cancel_reason; moving away from completed clears completed_at
  • outcome is kept for visits, calls and meetings only
  • follow_up creates a new follow-up task; checkin sets the check-in location and times
  • recurrence on a planned visit that does not repeat yet starts a series
  • scope (optional): this (default) changes only this activity. following applies the edit to this and every later planned occurrence of a repeating visit: customer, contact, owner, sales rep, subject, notes, timezone and all-day are copied; a time change shifts each later occurrence by the same amount; a new recurrence (cadence or end date) replaces the later occurrences with a new series starting from this one. Earlier occurrences are never changed

Returns the saved activity.

Request​

Responses​

OK

Response Headers
    Content-Type