> ## Documentation Index
> Fetch the complete documentation index at: https://developers.cloudtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Edit activity

> Updates the activity identified by `activityId`. `contact_id` is required on every request. The optional fields set the activity `type` (`order`, `task`, `chat`, `ticket`, `other`, `invoice`, `proforma`, `estimate` or `cancel`), its name, timestamp, description and author, and the `external_id` / `external_url` pair that links it back to the system it came from. Returns `404` if no activity has that ID.

Note the core API updates with `POST`, not `PUT`.



## API Specification

The full API specification for this endpoint is available in the [documentation index](https://developers.cloudtalk.io/llms.txt).


## Related topics

- [Contact actions](/api-reference/bulks/contact-actions.md)
- [List activities](/api-reference/contacts/list-activities.md)
- [Delete activity](/api-reference/contacts/delete-activity.md)
