Skip to main content
GET
/
v2
/
transcripts
Get all Transcripts
curl --request GET \
  --url https://api.affinity.co/v2/transcripts \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 1,
      "note": {
        "id": 742,
        "type": "ai-notetaker",
        "content": {
          "html": "<p> Lisa requests the most intelligent hamster available. The clerk presents a hamster he claims is a mystery writer. When Lisa questions how that could be possible, the clerk explains the hamster's writing process. </p>"
        },
        "creator": {
          "id": 8,
          "firstName": "Lisa",
          "lastName": "Simpson",
          "primaryEmailAddress": "[email protected]",
          "type": "internal"
        },
        "mentions": [],
        "transcriptId": 1,
        "createdAt": "2023-01-01T00:00:20Z",
        "updatedAt": "2023-01-21T00:01:00Z"
      },
      "languageCode": "en",
      "createdAt": "2023-01-01T00:00:23Z"
    },
    {
      "id": 2,
      "note": {
        "id": 844,
        "type": "ai-notetaker",
        "content": {
          "html": "<p> Bart issues the directive to “take him away,” but Chief Wiggum fumbles his words, saying “bake him away.” When questioned by Lou, the Chief defers to Bart's original instruction, effectively agreeing to proceed as Bart suggested. </p>"
        },
        "creator": {
          "id": 10,
          "firstName": "Bart",
          "lastName": "Simpson",
          "primaryEmailAddress": "[email protected]",
          "type": "internal"
        },
        "mentions": [],
        "transcriptId": 2,
        "createdAt": "2023-02-01T00:00:00Z",
        "updatedAt": "2023-02-21T00:00:00Z"
      },
      "languageCode": "en",
      "createdAt": "2023-02-01T00:00:35Z"
    }
  ],
  "pagination": {
    "prevUrl": "https://api.affinity.co/v2/transcripts?cursor=ICAgICAgYmVmb3JlOjo6Nw",
    "nextUrl": "https://api.affinity.co/v2/transcripts?cursor=ICAgICAgIGFmdGVyOjo6NA"
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

totalCount
boolean
default:false

Include total count of the collection in the pagination response

cursor
string

Cursor for the next or previous page

limit
integer<int32>
default:20

Number of items to include in the page

Required range: 0 <= x <= 100
filter
string

Filter options

Response

OK

transcripts.TranscriptPaged model

data
transcripts.BaseTranscript · object[]
required

A page of Transcript results

Maximum array length: 100
pagination
PaginationWithTotalCount · object
required
Example:
{
"prevUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgYmVmb3JlOjo6Nw",
"nextUrl": "https://api.affinity.co/v2/foo?cursor=ICAgICAgIGFmdGVyOjo6NA"
}