PATCH
/
v1
/
activities
/
{activityId}
curl --request PATCH \
  --url https://api.useconquest.com/v1/activities/{activityId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "externalId": "ext_123",
  "title": "<string>",
  "message": "<string>",
  "replyTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "reactTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "inviteTo": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "activityTypeKey": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "activity": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "externalId": "<string>",
    "title": "<string>",
    "message": "<string>",
    "replyTo": "<string>",
    "reactTo": "<string>",
    "inviteTo": "<string>",
    "source": "Api",
    "activityTypeId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "channelId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "eventId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "memberId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "workspaceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

activityId
string
required

Body

application/json

Response

200
application/json

Successful update

The response is of type object.