Complete Activity
POST/api/crm/activities/:activity/complete
Complete a planned activity. A visit, call or meeting records its outcome; a still-open check-in is closed now; a visit, call or meeting with no start time gets its check-in time (or now). A task just completes.
customers:writeGrant 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.
Body fields (all optional; only the fields sent change):
- outcome (string): one of the outcome keys in CRM settings; ignored for notes, emails and tasks
- notes (string, max 20,000)
- next_step (string, max 500), next_step_on (YYYY-MM-DD)
- follow_up (object): creates a planned follow-up task owned by you
- follow_up.due_on (YYYY-MM-DD, required with follow_up)
- follow_up.subject (string, max 255): defaults to next_step, else "Follow up: {customer}"
- follow_up.owner_user_id: not accepted here (422); reassign the task afterwards
Returns 422 for a cancelled activity.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden
Response Headers
Not Found
Response Headers
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.