Pocket

Organization Recordings

List, view, update, and delete recordings across your organization

These endpoints let you manage recordings across your entire organization rather than for a single user.

List Recordings

GET /api/v1/organization/:orgId/recordings

Minimum role: viewer

Returns a paginated list of recordings belonging to the organization.

Query Parameters

ParameterTypeDefaultDescription
datestringFilter to a specific date (YYYY-MM-DD)
startDatestringStart of date range (YYYY-MM-DD)
endDatestringEnd of date range (YYYY-MM-DD)
tagIdsstringComma-separated tag IDs to filter by
tagModestringanyany or all — match any or all provided tags
recordedBystringFilter by user ID of the recorder
recordedByEmailstringFilter by email of the recorder
pagenumber1Page number (1-indexed)
limitnumber20Results per page (max 100)
cursorstringCursor for keyset pagination (alternative to page)

Example Request

curl -X GET "https://public.heypocketai.com/api/v1/organization/org_abc/recordings?startDate=2026-03-01&endDate=2026-03-31&limit=10" \
  -H "Authorization: Bearer pk_xxx"

Response

{
  "recordings": [
    {
      "id": "rec_abc123",
      "title": "Team Standup",
      "duration": 1800,
      "language": "English",
      "recorded_by": "usr_001",
      "tags": ["tag_meeting"],
      "created_at": "2026-03-15T09:00:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 10,
    "total": 42,
    "next_cursor": "eyJpZCI6InJlY18..."
  }
}

Get Recording

GET /api/v1/organization/:orgId/recordings/:recordingId

Minimum role: viewer

Returns full details for a single recording.

Path Parameters

ParameterTypeDescription
recordingIdstringThe recording identifier

Query Parameters

ParameterTypeDefaultDescription
includestringComma-separated list of related resources to include (e.g. transcript,summary,action_items)

Response

{
  "id": "rec_abc123",
  "title": "Team Standup",
  "description": "Weekly sync",
  "duration": 1800,
  "language": "English",
  "recorded_by": "usr_001",
  "tags": ["tag_meeting"],
  "created_at": "2026-03-15T09:00:00.000Z",
  "transcript": [
    {
      "speaker": "Alice",
      "text": "Let's go over this week's priorities.",
      "start": 0.0,
      "end": 3.5
    }
  ],
  "summary": {
    "markdown": "## Key Decisions\n\n..."
  }
}

Update Recording

PUT /api/v1/organization/:orgId/recordings/:recordingId

Minimum role: admin

Updates metadata for a recording.

Path Parameters

ParameterTypeDescription
recordingIdstringThe recording identifier

Request Body

FieldTypeRequiredDescription
titlestringNoUpdated title
descriptionstringNoUpdated description
tagsstring[]NoReplacement tag IDs

Example Request

{
  "title": "Team Standup — Week 12",
  "tags": ["tag_meeting", "tag_weekly"]
}

Response

{
  "id": "rec_abc123",
  "title": "Team Standup — Week 12",
  "description": "Weekly sync",
  "duration": 1800,
  "tags": ["tag_meeting", "tag_weekly"],
  "updated_at": "2026-04-10T09:00:00.000Z"
}

Delete Recording

DELETE /api/v1/organization/:orgId/recordings/:recordingId

Minimum role: admin

Deletes a recording. By default this is a soft delete; pass permanent=true to hard-delete.

Path Parameters

ParameterTypeDescription
recordingIdstringThe recording identifier

Query Parameters

ParameterTypeDefaultDescription
permanentbooleanfalseIf true, permanently deletes the recording and all associated data

Response

{
  "success": true
}

On this page