> Tychron Atlas API & Provisioning Reference — chapter 37 of 48 as Markdown. Web version: https://docs.tychron.com/api-reference/tts-messages/
> Source: https://docs.tychron.com/api-reference/ · Updated 2026-11-30 · Generated from the Atlas OpenAPI spec (https://api.atlas.tychron.online/api/v1/openapi is the live contract; this file is a dated snapshot of it).
> Source revision: atlas_api_reference_2026-08-12.md · sha256 1a80314271ee6ef6 · sanitize gate v1 clean · reconciled with OpenAPI 2026.11.23-p02 (spec sha256 42031edc7de10063) on 2026-11-30 · content last modified 2026-11-30 · this chapter's content last changed 2026-11-30
> Scope: the Atlas platform API only. The SMS, MMS, CNAM, LRN and MCL services are separate APIs with their own specifications: https://docs.tychron.com/openapi/
> Machine index: https://docs.tychron.com/llms.txt

# TTS Messages

## Schema

A TTS Message contains the text 'body' and is associated with a TTS Voice.


__Type__ Object

| Name          | Type                     | Description                    |
| ------------- | ------------------------ | ------------------------------ |
| `body`        | String(1..4096)          | The text that should be read   |
| `id`          | String(format:uuid)      | [Desc. `id`](https://docs.tychron.com/api-reference/tts-messages/#desc-1338)       |
| `inserted_at` | String(format:date-time) | An ISO8601 formatted timestamp |
| `priority`    | Integer                  | [Desc. `priority`](https://docs.tychron.com/api-reference/tts-messages/#desc-1339) |
| `updated_at`  | String(format:date-time) | An ISO8601 formatted timestamp |

#### Desc. `id` {#desc-1338}

A Universally unique identifier, which identifies the resource

#### Desc. `priority` {#desc-1339}

The order in which messages should be played back, messages with the same priority will be randomized



__Example__

```json
{
  "body": "Hello, World!",
  "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
  "inserted_at": "2021-08-13T04:08:44.762841Z",
  "priority": 1,
  "updated_at": "2021-08-13T04:08:44.762841Z"
}
```



## API

### Create TTS Message

```http
POST /api/v1/tts/message_sets/{message_set_id}/messages HTTP/1.1
```

Create a new TTS Message.

The same operation is also available as:

```http
POST /api/v1/voip/tts/message_sets/{message_set_id}/messages HTTP/1.1
```


__Path Parameters__

| Name           | Type                 | Description |
| -------------- | -------------------- | ----------- |
| message_set_id | String(format:uuid)! | ID          |

#### Request application/json

```http
POST /api/v1/tts/message_sets/{message_set_id}/messages HTTP/1.1
Accept: application/json
Content-Type: application/json
Content-Length: 96
```

```json
{
  "data": {
    "body": "Pre-answer Greeter",
    "priority": 1
  },
  "type": "tts_message"
}
```

#### Response 201

##### application/json

```http
HTTP/1.1 201
Content-Type: application/json
Content-Length: 240
```

```json
{
  "data": {
    "body": "Hello, World!",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "priority": 1,
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "tts_message"
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```


### Update TTS Message

```http
PATCH /api/v1/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
```

Update an existing TTS Message.

The same operation is also available as:

```http
PATCH /api/v1/voip/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
PUT /api/v1/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
PUT /api/v1/voip/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
```


__Path Parameters__

| Name           | Type                 | Description |
| -------------- | -------------------- | ----------- |
| message_set_id | String(format:uuid)! | ID          |
| id             | String(format:uuid)! | ID          |

#### Request application/json

```http
PATCH /api/v1/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
Accept: application/json
Content-Type: application/json
Content-Length: 96
```

```json
{
  "data": {
    "body": "Pre-answer Greeter",
    "priority": 1
  },
  "type": "tts_message"
}
```

#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 240
```

```json
{
  "data": {
    "body": "Hello, World!",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "priority": 1,
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "tts_message"
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```


### Delete TTS Message

```http
DELETE /api/v1/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
```

Delete a TTS Message

The same operation is also available as:

```http
DELETE /api/v1/voip/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
```


__Path Parameters__

| Name           | Type                 | Description |
| -------------- | -------------------- | ----------- |
| message_set_id | String(format:uuid)! | ID          |
| id             | String(format:uuid)! | ID          |

#### Request

```http
DELETE /api/v1/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 240
```

```json
{
  "data": {
    "body": "Hello, World!",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "priority": 1,
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "tts_message"
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```


### List Messages from Message Set

```http
GET /api/v1/tts/message_sets/{message_set_id}/messages HTTP/1.1
```

The same operation is also available as:

```http
GET /api/v1/voip/tts/message_sets/{message_set_id}/messages HTTP/1.1
```


__Path Parameters__

| Name           | Type                 | Description |
| -------------- | -------------------- | ----------- |
| message_set_id | String(format:uuid)! | ID          |

__Query Parameters__

| Name   | Type    | Description                      |
| ------ | ------- | -------------------------------- |
| first  | Integer | [Query Desc. first](https://docs.tychron.com/api-reference/tts-messages/#desc-1340)  |
| last   | Integer | [Query Desc. last](https://docs.tychron.com/api-reference/tts-messages/#desc-1341)   |
| after  | String  | [Query Desc. after](https://docs.tychron.com/api-reference/tts-messages/#desc-1342)  |
| before | String  | [Query Desc. before](https://docs.tychron.com/api-reference/tts-messages/#desc-1343) |

#### Query Desc. first {#desc-1340}

The number of items to return starting from the 'after' cursor

#### Query Desc. last {#desc-1341}

The number of items to return behind the 'before' cursor

#### Query Desc. after {#desc-1342}

The cursor representing the starting point of a 'first' based paging

#### Query Desc. before {#desc-1343}

The cursor representing the starting point of a 'last' based paging

#### Request

```http
GET /api/v1/tts/message_sets/{message_set_id}/messages HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 491
```

```json
{
  "count": 1,
  "page_info": {
    "end_cursor": "YXJyYXljb25uZWN0aW9uOjQ=",
    "has_next_page": true,
    "has_previous_page": false,
    "start_cursor": "YXJyYXljb25uZWN0aW9uOjA="
  },
  "results": [
    {
      "data": {
        "body": "Hello, World!",
        "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
        "inserted_at": "2021-08-13T04:08:44.762841Z",
        "priority": 1,
        "updated_at": "2021-08-13T04:08:44.762841Z"
      },
      "type": "tts_message"
    }
  ]
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```


### Retrieve TTS Message by ID

```http
GET /api/v1/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
```

Lookup a TTS Message by its ID

The same operation is also available as:

```http
GET /api/v1/voip/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
```


__Path Parameters__

| Name           | Type                 | Description |
| -------------- | -------------------- | ----------- |
| message_set_id | String(format:uuid)! | ID          |
| id             | String(format:uuid)! | ID          |

#### Request

```http
GET /api/v1/tts/message_sets/{message_set_id}/messages/{id} HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 240
```

```json
{
  "data": {
    "body": "Hello, World!",
    "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "priority": 1,
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "tts_message"
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```

---

Previous chapter: https://docs.tychron.com/api-reference/tts-message-sets.md  
Next chapter: https://docs.tychron.com/api-reference/csp-enums.md  
Complete reference in one file: https://docs.tychron.com/llms-full.txt
