Skip to main content
PATCH
/
pipeline-activities
/
{id}
Update a pipeline activity
curl --request PATCH \
  --url https://www.ruddr.io/api/workspace/pipeline-activities/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subject": "<string>",
  "content": "<string>",
  "date": "2023-12-25",
  "duration": 123,
  "typeId": "<string>",
  "memberIds": [
    "<string>"
  ],
  "contactIds": [
    "<string>"
  ],
  "companyIds": [
    "<string>"
  ],
  "opportunityIds": [
    "<string>"
  ]
}
'
{
  "id": "a3d7e1b2-5c94-4f68-b0a2-e8f1d3c76a49",
  "subject": "Discovery call with client",
  "content": "Discussed project requirements and timeline expectations.",
  "direction": "outbound",
  "date": "2025-09-15",
  "duration": 30,
  "createdAt": "2025-09-15T14:22:31.482Z",
  "pipelineActivityType": {
    "id": "9c3a7d1e-5b28-4f60-a4e2-d8f1b0c73a96",
    "name": "Call"
  },
  "members": [
    {
      "id": "b4e8c2f1-7d35-4a90-81b3-f6a9d0e54c27",
      "name": "Sarah Johnson"
    }
  ],
  "contacts": [
    {
      "id": "c5f9d3a2-8e46-4b01-92c4-a7b0e1f65d38",
      "name": "John Smith"
    }
  ],
  "companies": [
    {
      "id": "d6a0e4b3-9f57-4c12-a3d5-b8c1f2a76e49",
      "name": "Acme Corp"
    }
  ],
  "opportunities": [
    {
      "id": "e7b1f5c4-0a68-4d23-b4e6-c9d2a3b87f50",
      "name": "Website Redesign"
    }
  ]
}
A pipeline activity, such as a call, email, or meeting, associated with one or more companies, contacts, members, and opportunities.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The pipeline activity uuid.

Body

application/json
subject
string

The subject of the pipeline activity. Max 255 characters.

content
string | null

The content or body of the pipeline activity. Max 5000 characters.

direction
enum<string> | null

Whether the activity was initiated by your team (outbound) or by the other party (inbound).

Available options:
inbound,
outbound
date
string<date>

The date of the pipeline activity. Will be in the form YYYY-MM-DD.

duration
integer | null

The duration of the pipeline activity in minutes.

typeId
string

The uuid of the pipeline activity type.

memberIds
string[]

When provided, replaces the set of members associated with this activity. Omit to leave members unchanged. Send an empty array to clear.

contactIds
string[]

When provided, replaces the set of contacts associated with this activity. Omit to leave contacts unchanged. Send an empty array to clear.

companyIds
string[]

When provided, replaces the set of companies associated with this activity. Omit to leave companies unchanged. Send an empty array to clear.

opportunityIds
string[]

When provided, replaces the set of opportunities associated with this activity. Omit to leave opportunities unchanged. Send an empty array to clear.

Response

200

id
string

The unique identifier for the object.

subject
string

The subject of the pipeline activity.

content
string | null

The content or body of the pipeline activity.

direction
enum<string> | null

Whether the activity was initiated by your team (outbound) or by the other party (inbound).

Available options:
inbound,
outbound
date
string<date>

The date of the pipeline activity. Will be in the form YYYY-MM-DD.

duration
integer | null

The duration of the pipeline activity in minutes.

createdAt
string<date-time>

The timestamp when the object was created.

pipelineActivityType
object

The pipeline activity type associated with this activity.

members
object[]

The members associated with this activity.

contacts
object[]

The contacts associated with this activity.

companies
object[]

The companies associated with this activity.

opportunities
object[]

The opportunities associated with this activity.