# Create Recording — Claap

> Create a new recording in Claap. See the documentation.

- Key: `claap-create-recording`
- Type: Action (Write)
- Version: 0.0.2
- App: Claap (`claap`) — https://pipedream.com/apps/claap.md
- This page (HTML): https://pipedream.com/apps/claap/actions/create-recording
- Hints: open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/claap/actions/create-recording/create-recording.mjs

## Description

Create a new recording in Claap. [See the documentation](https://docs.claap.io/api-reference/endpoint/post_recording).

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `authorEmail` | `string` | Yes | Recording author email address. Must belong to a workspace user with permissions to create recordings. |
| `channelId` | `string` | No | Identifier of a folder (aka channel) where the recording should be created |
| `deal` | `object` | No | A CRM deal reference to link to the recording. Requires meeting information and the workspace to be connected to the same CRM. Example: {"id": "deal-123", "type": "hubspot"}. Both id and type are required. Allowed types: attio, hubspot, pipedrive, salesforce. |
| `downloadUrl` | `string` | No | URL where the recording video content can be retrieved using an HTTP GET request. Do not use the response upload URL if this parameter is supplied. |
| `meetingStartedAt` | `string` | Yes | Meeting start time in ISO 8601 format (e.g. 2026-04-03T14:30:00Z) |
| `meetingEndedAt` | `string` | Yes | Meeting end time in ISO 8601 format (e.g. 2026-04-03T15:00:00Z) |
| `meetingParticipants` | `string[]` | No | Array of participant objects. Example: [{"name": "John", "email": "john@example.com", "isOrganizer": true}]. name is required. |
| `title` | `string` | No | Recording title |
| `transcript` | `boolean` | No | Set to true to signal intent to supply transcript data. The response will include a metaUrl upload attribute. Use it to send the transcript JSON payload with an HTTP PUT request. Note: the recording creation will only proceed once both the video and the transcript payloads have been sent. |
| `source` | `string` | No | Origin of the recording. Defaults to Api if none is provided. |

## Run it

**MCP**

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "claap",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
  name: "claap-create-recording",
  arguments: {
    authorEmail: "Author Email",
    channelId: "Channel / Folder ID",
  },
})
```

**TypeScript**

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "claap-create-recording",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    claap: { authProvisionId: "apn_xxxxxxx" },
    authorEmail: "Author Email",
    channelId: "Channel / Folder ID",
  },
})

console.log(result)
```

**cURL**

```bash
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
  -H "Content-Type: application/json" \
  -H "X-PD-Environment: production" \
  -H "Authorization: Bearer {access_token}" \
  -d '{
    "external_user_id": "{external_user_id}",
    "id": "claap-create-recording",
    "configured_props": {
      "claap": { "authProvisionId": "apn_xxxxxxx" },
      "authorEmail": "Author Email",
      "channelId": "Channel / Folder ID"
    }
  }'
```

---

- App: https://pipedream.com/apps/claap.md · All apps: https://pipedream.com/apps
