Back to top

API Documentation

Transcriptions

Overview

Transcriptions are structured records of transcribed conversations (e.g. voice calls or meetings). A transcription belongs to a brand and may optionally be linked to a contact, a deal, and an audio file.

This is the canonical replacement for storing free-form transcripts in contact note attributes.

Transcription

A Transcription's data model is described in the table below:

Field Type Association Description
id uuid Internal identifier of the object
created_at number Unix timestamp of creation
updated_at number Unix timestamp of last update
brand uuid The brand this transcription belongs to
user User transcription.user The user who recorded/owns this transcription
contact Contact transcription.contact Optional contact this conversation is with
deal Deal transcription.deal Optional deal this conversation is about
audio File transcription.audio Optional uploaded audio file for this recording
summary string Summary of the transcript, generated by the server as Markdown (see Summaries). Summaries sent by older app versions or set through PUT may contain HTML.
text string Convenience field: a readable transcript built from entries in position order. Adjacent entries are separated by a single space, except a newline is inserted after an entry that ends with terminal punctuation (., !, ?, optionally followed by closing quotes or brackets) when the gap to the next entry’s timestamp is at least 1.2s. Entries with no timestamp fall back to newline separation. null when there are no entries. Always returned without requesting transcription.entries.
entries Utterance[] transcription.entries Ordered list of transcribed utterances (see below)
created_by uuid User who created this record
updated_by uuid User who last updated this record

Summaries

The server generates summary from the transcript in the background whenever a transcription is created with non-empty contents, or its contents are replaced with a non-empty list. It’s usually ready a few seconds after the request returns, so clients should refetch the transcription to get it. On a new transcription, summary is null until then.

Server-generated summaries use Markdown with up to three sections, each left out when empty:

## Overview
The buyers are relocating in March and need three bedrooms near good schools.

## Key Points
- Pre-approved up to $520k, prefer to stay around $480k.

## Action Items
- Send listings in Frisco and Allen by Thursday.

Updating only summary through PUT saves or clears it without generating a new one. Replacing contents with a non-empty list generates a new summary from the new transcript, even when the request also supplies summary.

Utterance

Each entry of contents is an object describing a single line of the conversation:

Field Type Required Description
timestamp number no Offset from the start of the conversation, in seconds. Fractional values are allowed.
author string no Free-form speaker label (e.g. Agent, Client, or a name).
text string yes The transcribed text for this utterance.

Endpoints

List transcriptions for a brand

List transcriptions for a brand
GET/brands/:id/transcriptions

Returns all transcriptions belonging to the brand, ordered most-recent-first. Optionally filter by contact, deal, or both.

Query parameters:

Field Type Required Description
contact uuid no When provided, only transcriptions for this contact are returned.
deal uuid no When provided, only transcriptions for this deal are returned.

Example URI

GET /brands/:id/transcriptions
URI Parameters
HideShow
id
string (required) Example: b190257c-4ffe-4bf9-ae26-716bdfef7436
Response  200
HideShow
Body
{
  "code": "OK",
  "data": [
    {
      "id": "dc6be16a-05be-49ea-a677-eda158572249",
      "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "created_at": 1795716966.294868,
      "updated_at": 1795716966.294868,
      "deleted_at": null,
      "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
      "updated_by": null,
      "summary": "## Overview\nMock summary of a 19-word memo.\n\n## Key Points\n- Agent: Hi, how can I help you?",
      "type": "transcription",
      "entries": [
        {
          "id": "2a087abf-dd3e-4354-9847-67d971aeed67",
          "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
          "position": 0,
          "timestamp": 0,
          "author": "Agent",
          "text": "Hi, how can I help you?",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "de909593-b8ae-43d4-a3a4-d9853237477d",
          "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
          "position": 1,
          "timestamp": 3.5,
          "author": "Client",
          "text": "Looking for a 3-bedroom house.",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "e68696fd-4eda-4497-b8a2-bbe1bbe161e6",
          "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
          "position": 2,
          "timestamp": 7.2,
          "author": "Agent",
          "text": "Great, what is your budget?",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        }
      ],
      "text": "Hi, how can I help you?\nLooking for a 3-bedroom house.\nGreat, what is your budget?"
    },
    {
      "id": "fc413745-3417-460a-b775-1fb43bcb158e",
      "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "created_at": 1795716966.294868,
      "updated_at": 1795716966.294868,
      "deleted_at": null,
      "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
      "updated_by": null,
      "summary": "## Overview\nMock summary of a 10-word memo.\n\n## Key Points\n- Hi, how can I help you?Looking for a 3-bedroom house.",
      "type": "transcription",
      "entries": [
        {
          "id": "806b39c2-785a-49b8-8282-f694fcc9e606",
          "transcription": "fc413745-3417-460a-b775-1fb43bcb158e",
          "position": 0,
          "timestamp": null,
          "author": null,
          "text": "Hi, how can I help you?",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "94ac47ba-d933-4f27-9295-441cd7142c2b",
          "transcription": "fc413745-3417-460a-b775-1fb43bcb158e",
          "position": 1,
          "timestamp": null,
          "author": null,
          "text": "Looking for a 3-bedroom house.",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        }
      ],
      "text": "Hi, how can I help you?Looking for a 3-bedroom house."
    },
    {
      "id": "bb188af4-73dd-4037-b2e2-f2bb21830436",
      "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "created_at": 1795716966.294868,
      "updated_at": 1795716966.294868,
      "deleted_at": null,
      "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
      "updated_by": null,
      "summary": "## Overview\nMock summary of a 11-word memo.\n\n## Key Points\n- Agent: What is your budget?",
      "type": "transcription",
      "entries": [
        {
          "id": "8ad785ad-278f-42d6-951d-62e53b5b3357",
          "transcription": "bb188af4-73dd-4037-b2e2-f2bb21830436",
          "position": 0,
          "timestamp": 0,
          "author": "Agent",
          "text": "What is your budget?",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "c1b651d7-1080-47a9-aaa2-ffee9713d893",
          "transcription": "bb188af4-73dd-4037-b2e2-f2bb21830436",
          "position": 1,
          "timestamp": 2.1,
          "author": "Client",
          "text": "Around $500k, ideally in Plano.",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        }
      ],
      "text": "What is your budget?\nAround $500k, ideally in Plano."
    },
    {
      "id": "5ca38270-e8fe-4145-91a5-0617594fa9e5",
      "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "created_at": 1795716966.294868,
      "updated_at": 1795716966.294868,
      "deleted_at": null,
      "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
      "updated_by": null,
      "summary": "## Overview\nMock summary of a 7-word memo.\n\n## Key Points\n- Older device transcript with no utterance metadata.",
      "type": "transcription",
      "entries": [
        {
          "id": "c6a94424-11bb-4751-86ea-92021d6e1e4a",
          "transcription": "5ca38270-e8fe-4145-91a5-0617594fa9e5",
          "position": 0,
          "timestamp": null,
          "author": null,
          "text": "Older device transcript with no utterance metadata.",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        }
      ],
      "text": "Older device transcript with no utterance metadata."
    },
    {
      "id": "438d989f-eaa1-4a54-9346-46b39e72d9f2",
      "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "created_at": 1795716966.294868,
      "updated_at": 1795716966.294868,
      "deleted_at": null,
      "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
      "updated_by": null,
      "summary": "## Overview\nMock summary of a 4-word memo.\n\n## Key Points\n- Metadata can be null.",
      "type": "transcription",
      "entries": [
        {
          "id": "799b936c-9afc-4b7a-8e2e-14ca0201bc71",
          "transcription": "438d989f-eaa1-4a54-9346-46b39e72d9f2",
          "position": 0,
          "timestamp": null,
          "author": null,
          "text": "Metadata can be null.",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        }
      ],
      "text": "Metadata can be null."
    },
    {
      "id": "3df01cab-a88b-47d4-9454-292f964fb9b6",
      "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "created_at": 1795716966.294868,
      "updated_at": 1795716966.294868,
      "deleted_at": null,
      "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
      "updated_by": null,
      "summary": "## Overview\nMock summary of a 11-word memo.\n\n## Key Points\n- Agent: Hi there.",
      "type": "transcription",
      "entries": [
        {
          "id": "d50f87c2-af2e-4d49-ad09-7ff5abf452ae",
          "transcription": "3df01cab-a88b-47d4-9454-292f964fb9b6",
          "position": 0,
          "timestamp": 0,
          "author": "Agent",
          "text": "Hi",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "a2aeb52e-821e-4349-883b-6c45439dcc72",
          "transcription": "3df01cab-a88b-47d4-9454-292f964fb9b6",
          "position": 1,
          "timestamp": 0.3,
          "author": "Agent",
          "text": "there.",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "efd02f08-d1c6-4e9e-9c36-bccb04d38154",
          "transcription": "3df01cab-a88b-47d4-9454-292f964fb9b6",
          "position": 2,
          "timestamp": 2.5,
          "author": "Client",
          "text": "How",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "56d37d50-d92d-4894-8331-5c74bb4bb692",
          "transcription": "3df01cab-a88b-47d4-9454-292f964fb9b6",
          "position": 3,
          "timestamp": 2.8,
          "author": "Client",
          "text": "are",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "f9f149c4-1227-4015-9e41-3ab3a0c4a770",
          "transcription": "3df01cab-a88b-47d4-9454-292f964fb9b6",
          "position": 4,
          "timestamp": 3,
          "author": "Client",
          "text": "you?",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "ee5f6636-1577-4f9c-9b4a-914377a88f6b",
          "transcription": "3df01cab-a88b-47d4-9454-292f964fb9b6",
          "position": 5,
          "timestamp": 5,
          "author": "Agent",
          "text": "I",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "05ba0b33-fc8e-4890-a013-18bc11f47f2f",
          "transcription": "3df01cab-a88b-47d4-9454-292f964fb9b6",
          "position": 6,
          "timestamp": 5.2,
          "author": "Agent",
          "text": "am",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        },
        {
          "id": "fc98cde5-2ea1-490a-8184-ae2994795496",
          "transcription": "3df01cab-a88b-47d4-9454-292f964fb9b6",
          "position": 7,
          "timestamp": 5.5,
          "author": "Agent",
          "text": "great.",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        }
      ],
      "text": "Hi there.\nHow are you?\nI am great."
    },
    {
      "id": "4972712d-6b93-4a92-8943-9a6e86331646",
      "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "created_at": 1795716966.294868,
      "updated_at": 1795716966.294868,
      "deleted_at": null,
      "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
      "updated_by": null,
      "summary": null,
      "type": "transcription",
      "entries": null,
      "text": null
    },
    {
      "id": "fecbfbd7-1d0a-4f8b-a8cd-88ab0181b750",
      "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "created_at": 1795716966.294868,
      "updated_at": 1795716966.294868,
      "deleted_at": null,
      "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
      "updated_by": null,
      "summary": "## Overview\nMock summary of a 5-word memo.\n\n## Key Points\n- Deal recording without a contact.",
      "type": "transcription",
      "entries": [
        {
          "id": "38dcf4ce-8a95-40db-8884-fda5a198c723",
          "transcription": "fecbfbd7-1d0a-4f8b-a8cd-88ab0181b750",
          "position": 0,
          "timestamp": null,
          "author": null,
          "text": "Deal recording without a contact.",
          "created_at": 1795716966.294868,
          "deleted_at": null,
          "type": "transcription_entry"
        }
      ],
      "text": "Deal recording without a contact."
    }
  ],
  "info": {
    "count": 8,
    "total": 0
  }
}

Get a specific transcription

Get a specific transcription
GET/brands/:id/transcriptions/:transcription

Example URI

GET /brands/:id/transcriptions/:transcription
URI Parameters
HideShow
id
string (required) Example: b190257c-4ffe-4bf9-ae26-716bdfef7436
transcription
string (required) Example: dc6be16a-05be-49ea-a677-eda158572249
associations
string (required) Example: transcription.contact
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "dc6be16a-05be-49ea-a677-eda158572249",
    "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
    "contact": {
      "id": "e00c7366-dac9-40a9-b5f7-f7ec64c34894",
      "display_name": "Johnny",
      "partner_name": "Jane Doe",
      "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "brand_id": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "user_id": "3f7f4d93-a081-4092-9557-120abf38893f",
      "sort_field": "Johnny",
      "last_touch": null,
      "last_touch_action": null,
      "next_touch": null,
      "touch_freq": null,
      "ios_address_book_id": null,
      "android_address_book_id": null,
      "created_at": 1795716966.815701,
      "updated_at": 1795716966.294868,
      "deleted_at": null,
      "created_for": "direct_request",
      "updated_for": "direct_request",
      "deleted_for": null,
      "title": null,
      "first_name": "John",
      "partner_first_name": "Jane",
      "middle_name": "M.",
      "last_name": "Doe",
      "partner_last_name": "Doe",
      "marketing_name": null,
      "nickname": "Johnny",
      "email": "[email protected]",
      "primary_email": "[email protected]",
      "emails": [
        "[email protected]"
      ],
      "parked": false,
      "partner_email": "[email protected]",
      "phone_number": "+989124834198",
      "primary_phone_number": "+989124834198",
      "phone_numbers": [
        "+989124834198"
      ],
      "company": "Rechat",
      "birthday": "1970-01-12T00:00:00.000Z",
      "profile_image_url": "https://inomics.com/sites/default/files/pictures/picture-95970-1460131169.png",
      "cover_image_url": "https://inomics.com/sites/default/files/pictures/picture-95970-1460131169.png",
      "job_title": "Contact Test Subject",
      "source_type": "ExplicitlyCreated",
      "source": null,
      "website": [
        "http://www.gholi.com"
      ],
      "tags": [
        "poo",
        "foo",
        "New"
      ],
      "address": [
        {
          "city": "Dallas",
          "full": "Street, Dallas Texas 72890",
          "name": "Street",
          "type": "stdaddr",
          "extra": "Office",
          "line1": "Street",
          "line2": "Dallas Texas 72890",
          "state": "Texas",
          "country": "US",
          "postcode": "72890"
        }
      ],
      "type": "contact"
    },
    "created_at": 1795716966.294868,
    "updated_at": 1795716966.294868,
    "deleted_at": null,
    "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
    "updated_by": null,
    "summary": "## Overview\nMock summary of a 19-word memo.\n\n## Key Points\n- Agent: Hi, how can I help you?",
    "type": "transcription",
    "entries": [
      {
        "id": "2a087abf-dd3e-4354-9847-67d971aeed67",
        "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
        "position": 0,
        "timestamp": 0,
        "author": "Agent",
        "text": "Hi, how can I help you?",
        "created_at": 1795716966.294868,
        "deleted_at": null,
        "type": "transcription_entry"
      },
      {
        "id": "de909593-b8ae-43d4-a3a4-d9853237477d",
        "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
        "position": 1,
        "timestamp": 3.5,
        "author": "Client",
        "text": "Looking for a 3-bedroom house.",
        "created_at": 1795716966.294868,
        "deleted_at": null,
        "type": "transcription_entry"
      },
      {
        "id": "e68696fd-4eda-4497-b8a2-bbe1bbe161e6",
        "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
        "position": 2,
        "timestamp": 7.2,
        "author": "Agent",
        "text": "Great, what is your budget?",
        "created_at": 1795716966.294868,
        "deleted_at": null,
        "type": "transcription_entry"
      }
    ],
    "text": "Hi, how can I help you?\nLooking for a 3-bedroom house.\nGreat, what is your budget?"
  }
}

Create a transcription

Create a transcription
POST/brands/:id/transcriptions

Creates a transcription under the given brand. The optional contact and deal must belong to the same brand, and audio must reference an accessible uploaded file. The contents array may be empty, but every entry must include text. The server generates summary from non-empty contents (see Summaries); a summary in the request body is ignored.

Body fields:

Field Type Required Description
contact uuid no Optional contact this conversation was with
deal uuid no Optional deal this conversation was about
audio uuid no Optional audio file id
contents Utterance[] yes Ordered list of utterances (may be empty)

Example URI

POST /brands/:id/transcriptions
URI Parameters
HideShow
id
string (required) Example: b190257c-4ffe-4bf9-ae26-716bdfef7436
associations
string (required) Example: transcription.contact,transcription.entries
Request
HideShow
Body
{
  "contact": "e00c7366-dac9-40a9-b5f7-f7ec64c34894",
  "contents": [
    {
      "timestamp": 0,
      "author": "Agent",
      "text": "Hi, how can I help you?"
    },
    {
      "timestamp": 3.5,
      "author": "Client",
      "text": "Looking for a 3-bedroom house."
    },
    {
      "timestamp": 7.2,
      "author": "Agent",
      "text": "Great, what is your budget?"
    }
  ]
}
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "dc6be16a-05be-49ea-a677-eda158572249",
    "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
    "contact": {
      "id": "e00c7366-dac9-40a9-b5f7-f7ec64c34894",
      "display_name": "Johnny",
      "partner_name": "Jane Doe",
      "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "brand_id": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
      "user_id": "3f7f4d93-a081-4092-9557-120abf38893f",
      "sort_field": "Johnny",
      "last_touch": null,
      "last_touch_action": null,
      "next_touch": null,
      "touch_freq": null,
      "ios_address_book_id": null,
      "android_address_book_id": null,
      "created_at": 1795716966.815701,
      "updated_at": 1795716966.294868,
      "deleted_at": null,
      "created_for": "direct_request",
      "updated_for": "direct_request",
      "deleted_for": null,
      "title": null,
      "first_name": "John",
      "partner_first_name": "Jane",
      "middle_name": "M.",
      "last_name": "Doe",
      "partner_last_name": "Doe",
      "marketing_name": null,
      "nickname": "Johnny",
      "email": "[email protected]",
      "primary_email": "[email protected]",
      "emails": [
        "[email protected]"
      ],
      "parked": false,
      "partner_email": "[email protected]",
      "phone_number": "+989124834198",
      "primary_phone_number": "+989124834198",
      "phone_numbers": [
        "+989124834198"
      ],
      "company": "Rechat",
      "birthday": "1970-01-12T00:00:00.000Z",
      "profile_image_url": "https://inomics.com/sites/default/files/pictures/picture-95970-1460131169.png",
      "cover_image_url": "https://inomics.com/sites/default/files/pictures/picture-95970-1460131169.png",
      "job_title": "Contact Test Subject",
      "source_type": "ExplicitlyCreated",
      "source": null,
      "website": [
        "http://www.gholi.com"
      ],
      "tags": [
        "poo",
        "foo",
        "New"
      ],
      "address": [
        {
          "city": "Dallas",
          "full": "Street, Dallas Texas 72890",
          "name": "Street",
          "type": "stdaddr",
          "extra": "Office",
          "line1": "Street",
          "line2": "Dallas Texas 72890",
          "state": "Texas",
          "country": "US",
          "postcode": "72890"
        }
      ],
      "type": "contact"
    },
    "created_at": 1795716966.294868,
    "updated_at": 1795716966.294868,
    "deleted_at": null,
    "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
    "updated_by": null,
    "summary": null,
    "type": "transcription",
    "entries": [
      {
        "id": "2a087abf-dd3e-4354-9847-67d971aeed67",
        "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
        "position": 0,
        "timestamp": 0,
        "author": "Agent",
        "text": "Hi, how can I help you?",
        "created_at": 1795716966.294868,
        "deleted_at": null,
        "type": "transcription_entry"
      },
      {
        "id": "de909593-b8ae-43d4-a3a4-d9853237477d",
        "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
        "position": 1,
        "timestamp": 3.5,
        "author": "Client",
        "text": "Looking for a 3-bedroom house.",
        "created_at": 1795716966.294868,
        "deleted_at": null,
        "type": "transcription_entry"
      },
      {
        "id": "e68696fd-4eda-4497-b8a2-bbe1bbe161e6",
        "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
        "position": 2,
        "timestamp": 7.2,
        "author": "Agent",
        "text": "Great, what is your budget?",
        "created_at": 1795716966.294868,
        "deleted_at": null,
        "type": "transcription_entry"
      }
    ],
    "text": "Hi, how can I help you?\nLooking for a 3-bedroom house.\nGreat, what is your budget?"
  }
}

Update a transcription

Update a transcription
PUT/brands/:id/transcriptions/:transcription

Partially updates a transcription. All body fields are optional; only the fields you include are touched. Pass null (or [] for contents) to clear a field. When contents is provided, the existing entries are soft-deleted and replaced with the new ones. A non-empty contents also regenerates the summary.

Body fields:

Field Type Required Description
summary string no Sets or clears the summary (e.g. a user edit). Pass null to clear. Updating only summary does not generate a new one; replacing contents with a non-empty list regenerates it.
contents Utterance[] no If provided, replaces all entries with this new ordered list.
contact uuid no Re-link to a different contact, or null to unlink.
deal uuid no Re-link to a different deal, or null to unlink.
audio uuid no Re-link to a different audio file, or null to unlink.

Example URI

PUT /brands/:id/transcriptions/:transcription
URI Parameters
HideShow
id
string (required) Example: b190257c-4ffe-4bf9-ae26-716bdfef7436
transcription
string (required) Example: dc6be16a-05be-49ea-a677-eda158572249
Request
HideShow
Body
{
  "summary": "<p>Updated summary after the agent reviewed the call.</p>"
}
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "dc6be16a-05be-49ea-a677-eda158572249",
    "brand": "b190257c-4ffe-4bf9-ae26-716bdfef7436",
    "created_at": 1795716966.294868,
    "updated_at": 1795716966.294868,
    "deleted_at": null,
    "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
    "updated_by": "3f7f4d93-a081-4092-9557-120abf38893f",
    "summary": "<p>Updated summary after the agent reviewed the call.</p>",
    "type": "transcription",
    "entries": [
      {
        "id": "2a087abf-dd3e-4354-9847-67d971aeed67",
        "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
        "position": 0,
        "timestamp": 0,
        "author": "Agent",
        "text": "Hi, how can I help you?",
        "created_at": 1795716966.294868,
        "deleted_at": null,
        "type": "transcription_entry"
      },
      {
        "id": "de909593-b8ae-43d4-a3a4-d9853237477d",
        "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
        "position": 1,
        "timestamp": 3.5,
        "author": "Client",
        "text": "Looking for a 3-bedroom house.",
        "created_at": 1795716966.294868,
        "deleted_at": null,
        "type": "transcription_entry"
      },
      {
        "id": "e68696fd-4eda-4497-b8a2-bbe1bbe161e6",
        "transcription": "dc6be16a-05be-49ea-a677-eda158572249",
        "position": 2,
        "timestamp": 7.2,
        "author": "Agent",
        "text": "Great, what is your budget?",
        "created_at": 1795716966.294868,
        "deleted_at": null,
        "type": "transcription_entry"
      }
    ],
    "text": "Hi, how can I help you?\nLooking for a 3-bedroom house.\nGreat, what is your budget?"
  }
}

Upload transcription audio

Upload transcription audio
POST/brands/:id/transcriptions/audio

Uploads or imports an audio file for later use as audio in POST /brands/:id/transcriptions. Supports multipart uploads, copying an existing file, or importing { url, filename } with common audio extensions such as m4a, mp3, wav, and aac.

Example URI

POST /brands/:id/transcriptions/audio
URI Parameters
HideShow
id
string (required) Example: b190257c-4ffe-4bf9-ae26-716bdfef7436
Response  200
HideShow
Body
{
  "code": "OK",
  "data": {
    "id": "dd5849b2-81ae-4fe9-be05-5160e5d441a4",
    "created_at": 1795716967.092867,
    "updated_at": 1795716967.092867,
    "deleted_at": null,
    "created_by": "3f7f4d93-a081-4092-9557-120abf38893f",
    "path": "transcriptions/b190257c-4ffe-4bf9-ae26-716bdfef7436/audio/72e93030-e9c5-11f1-8b13-dff257259151.mp3",
    "name": "sample.mp3",
    "public": false,
    "type": "file",
    "url": "https://private-cdn.irish.rechat.com/transcriptions/b190257c-4ffe-4bf9-ae26-716bdfef7436/audio/72e93030-e9c5-11f1-8b13-dff257259151.mp3?Expires=1795803367094&Key-Pair-Id=APKAIIRG223GKFAC4MHA&Signature=ZxgkfnMs9tnjXck3Hklb2Dt9SRCMjfaYZnZ89Flz2e83okk~GDF~YRUQujRwZlpl1dBq8pg3ds~40ijn~zz3PbUPCrd9Di0OkOFJE4bevV3J3hkmUs6Sh3l1w5BM-juf9B90rK-1sn8uhiGsw3urGnREv-EgeD6cyO0IXLWtOkBJJ2Af7EyzdDLr33VmCc78sNktW3b2YoT2hFejs-J6mVArKiesIvcHmT2v8x6vz8pxKxv0gnvS5Yu7uCmyRt3x2~R0mVA2KNnX9BxirNBO8LQd9q7-qj0Y~I2zXsRYTVW1~ZaI1M-neAH~wDUOrY0qo0Tezz16oLtTM8reojAfKw__",
    "preview_url": "http://assets.rechat.com/mimes/unknown.png",
    "mime": "audio/mpeg"
  }
}

Delete a transcription

Delete a transcription
DELETE/brands/:id/transcriptions/:transcription

Soft-deletes a transcription. Returns 204 on success.

Example URI

DELETE /brands/:id/transcriptions/:transcription
URI Parameters
HideShow
id
string (required) Example: b190257c-4ffe-4bf9-ae26-716bdfef7436
transcription
string (required) Example: dc6be16a-05be-49ea-a677-eda158572249
Response  204

Generated by aglio on 26 Nov 2026