---
title: "Create a pipeline activity"
method: POST
path: "/pipeline-activities"
tags: ["Pipeline Activities"]
---

# Create a pipeline activity

`POST /pipeline-activities`

## Request

- Base URL: `https://www.ruddr.io/api/workspace`
- URL: `https://www.ruddr.io/api/workspace/pipeline-activities`
- Auth: HTTP bearer

## Request body

- object
  - `subject` string, required: The subject of the pipeline activity. Max 255 characters.
  - `content` string, nullable: The content or body of the pipeline activity. Max 5000 characters.
  - `direction` 'inbound' | 'outbound', nullable: Whether the activity was initiated by your team (`outbound`) or by the other party (`inbound`).
  - `date` string, date, required: The date of the pipeline activity. Will be in the form YYYY-MM-DD.
  - `duration` integer, nullable: The duration of the pipeline activity in minutes.
  - `typeId` string, required: The `uuid` of the pipeline activity type.
  - `memberIds` string[]: The `uuid`s of the members to associate with this activity.
  - `contactIds` string[]: The `uuid`s of the contacts to associate with this activity.
  - `companyIds` string[]: The `uuid`s of the companies to associate with this activity.
  - `opportunityIds` string[]: The `uuid`s of the opportunities to associate with this activity.

## Response `200`

200

- PipelineActivity
  - `id` string: The unique identifier for the object.
  - `subject` string: The subject of the pipeline activity.
  - `content` string, nullable: The content or body of the pipeline activity.
  - `direction` 'inbound' | 'outbound', nullable: Whether the activity was initiated by your team (`outbound`) or by the other party (`inbound`).
  - `date` string, date: The date of the pipeline activity. Will be in the form YYYY-MM-DD.
  - `duration` integer, nullable: 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.
    - `id` string: The unique identifier for the object.
    - `name` string: The name of the pipeline activity type.
  - `members` object[]: The members associated with this activity.
    - `id` string: The unique identifier for the object.
    - `name` string: The name of the member.
  - `contacts` object[]: The contacts associated with this activity.
    - `id` string: The unique identifier for the object.
    - `name` string: The name of the contact.
  - `companies` object[]: The companies associated with this activity.
    - `id` string: The unique identifier for the object.
    - `name` string: The name of the company.
  - `opportunities` object[]: The opportunities associated with this activity.
    - `id` string: The unique identifier for the object.
    - `name` string: The name of the opportunity.

## Other responses

- `400`: 400
- `403`: 403

---

[API](https://skmtc.dev/ruddr/apis/ruddr-api.md) · [All operations](https://skmtc.dev/ruddr/apis/ruddr-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ruddr/apis/ruddr-api/revisions/01c3f2a969ba?raw)
