# Create a saved reply

```http
POST https://trydimmi.com/api/v1/saved-replies
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `conversations:write`.

## Body

- `actions` (object)
  - `assignee_id` (string): Id of the teammate the conversation is assigned to when the reply is sent, starting with mem_, such as mem_01jx2m8k4t. Find it with GET /members.
  - `priority` (string): The priority the conversation gets when the reply is sent: none, low, medium, high or urgent, such as "high". One of: `none`, `low`, `medium`, `high`, `urgent`.
  - `snooze_preset` (string): Only when status is snoozed: when the snooze ends, one of later_today, tomorrow, next_week or one_week, such as "tomorrow". One of: `later_today`, `tomorrow`, `next_week`, `one_week`.
  - `status` (string): The status the conversation gets when the reply is sent: open, closed or snoozed, such as "closed". With snoozed, also give snooze_preset. One of: `open`, `closed`, `snoozed`.
  - `tag_ids` (string[] | null): Ids of the tags added to the conversation when the reply is sent, as a list of up to 10, each starting with tag_, such as ["tag_01jx2m8k4t"]. Find them with GET /tags.
  - `team_id` (string): Id of the team the conversation is assigned to when the reply is sent, starting with team_, such as team_01jx2m8k4t. Find it with GET /teams.
- `body` (string, required): Markdown. May use {{ contact.first_name | default: "there" }} style variables.
- `shared` (boolean): true shares it with the whole workspace.
- `shortcut` (string): A short word to find it by, unique among your replies and among shared ones.
- `title` (string, required): The title of the saved reply, at most 120 characters.

## Response 201 (Created)

- `data` (object, required)
  - `actions` (object, required)
    - `assignee_id` (string): Id of the teammate the conversation is assigned to when the reply is sent, such as mem_.... Left out when it assigns nobody.
    - `priority` (string): Priority set when the reply is sent: none, low, medium, high or urgent. Left out when it sets none.
    - `snooze_preset` (string): How long to snooze when status is snoozed: later_today, tomorrow, next_week or one_week. Left out otherwise.
    - `status` (string): Status the conversation moves to when the reply is sent: open, closed or snoozed. Left out when it changes none.
    - `tag_ids` (string[] | null, required): Ids of the tags added to the conversation when the reply is sent, such as tag_...; empty for none.
    - `team_id` (string): Id of the team the conversation is assigned to when the reply is sent, such as team_.... Left out when it assigns none.
  - `body` (string, required): The text of the reply.
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `owner_id` (string | null, required): Id of the teammate who owns a personal reply, such as mem_...; null for a reply shared with the workspace.
  - `shared` (boolean, required): True when the whole workspace can use the reply, false when it is the owner's own.
  - `shortcut` (string | null, required): Short word typed to insert the reply, stored without a leading # or /, such as refund; null when it has none.
  - `title` (string, required): The reply's name in the list of saved replies.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request POST \
  --url 'https://trydimmi.com/api/v1/saved-replies' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "actions": {
    "assignee_id": "<string>",
    "priority": "none",
    "snooze_preset": "later_today",
    "status": "open",
    "tag_ids": [
      "<string>"
    ],
    "team_id": "<string>"
  },
  "body": "<string>",
  "shared": true,
  "shortcut": "<string>",
  "title": "<string>"
}'
```

## Example response

```json
{
  "data": {
    "actions": {
      "assignee_id": "<string>",
      "priority": "<string>",
      "snooze_preset": "<string>",
      "status": "<string>",
      "tag_ids": [
        "<string>"
      ],
      "team_id": "<string>"
    },
    "body": "<string>",
    "created_at": "2026-11-01T09:30:00Z",
    "id": "<string>",
    "object": "<string>",
    "owner_id": "<string>",
    "shared": true,
    "shortcut": "<string>",
    "title": "<string>",
    "updated_at": "2026-11-01T09:30:00Z"
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
