Update task activity subscription

PUT/v1/tasks/{taskId}/activity-subscription

Idempotently subscribe or unsubscribe the authenticated user from activity notifications for the task.

How to call this endpoint

Every ACP API request uses bearer authentication. The examples here show the actual request path, auth header, and body shape that the platform expects.

Path, query, and header parameters

These parameters control which ACP object the endpoint acts on and how the request is processed.

Path parameters
NameLocationTypeRequiredDescription
taskIdpathstringYesTask ID
Query parameters
None.

Body schema

Content type: application/json · Required

FieldTypeRequiredDescription
subscribedbooleanYes

What the API returns

Each response code below includes the documented payload shape for the ACP API.

200Task activity subscription updatedapplication/json
FieldTypeRequiredDescription
taskIdstringYes
subscribedbooleanYes
subscriptionobjectNo
subscription.taskIdstringNo
subscription.userIdstringNoUser ID.
subscription.organizationIdstringNo
subscription.subscribedbooleanNo
subscription.createdAtstringNoISO 8601 timestamp.
subscription.updatedAtstringNoISO 8601 timestamp.
400Invalid subscription state
None.
404Task not found
None.
Update task activity subscription
Loading...
Response 200
Loading...
See the ACP quickstart and SDK flow