v1

latestOpenAPI 3.0.1Apache 2.02026-07-1398228598.3 KB
Tool
Snippet

Create Snippet

Creates a new conversation snippet that can be used for reference, analysis, or sharing. This endpoint allows you to capture and store important parts of conversations for future use.

post/snippets

Request body

user_uuidstring required
conversation_idstring required
notesstring
titlestring
in_libraryboolean

Indicates whether the snippet should be added to the library or not

internalboolean required
notify_viewsboolean required

Example request

{
  "user_uuid": "a1b2c3d4-e5f6-47a8-b9c0-d1e2f3a4b5c6",
  "conversation_id": "conv-uuid-123",
  "internal": false,
  "notify_views": true,
  "title": "Key Discovery Moment",
  "notes": "Customer mentioned budget constraints",
  "in_library": true,
  "video": {
    "start_time": 120.5,
    "end_time": 180,
    "duration": 59.5
  },
  "reference": {
    "characters": {
      "start_idx": "100",
      "end_idx": "250"
    },
    "speakers": {
      "start_idx": "2",
      "end_idx": "5"
    },
    "transcript_version": "V1"
  }
}

Response

Snippet successfully created and stored

urlstring required
idstring required
share_codestring

Example response

{
  "id": "snp-uuid-789",
  "url": "https://app.attention.tech/snippets/snp-uuid-789",
  "share_code": "abc123def"
}