Saved Replies
Keep reply texts agents insert in the inbox, for the workspace, teams or one user. 5 endpoints in this resource.
List saved replies
https://api.flownally.com/v1/saved-repliesReturns the saved replies the caller can see, ordered by title, then id: every
workspace reply, the team replies of the caller's teams, and the caller's own personal
replies. Workspace owners and admins, and API keys, see every team reply, and also
another user's personal replies when they filter by createdBy.
400with codegateway_invalid_request: a parameter breaks this schema, for example an unknownscope, a negativepageSizeor aqueryover 200 characters.400with codemessaging_saved_reply_invalid_page_token:pageTokenis invalid, older than 24 hours, or was issued for other filters or another caller.
Authorization
- saved_reply:list
- owner
- admin
- agent
List saved replies visible to the caller.
Parameters
- Name
scope- Type
- query · array<SavedReplyScope>
Return only replies with one of these scopes.- Name
availableInTeamId- Type
- query · string
Return the replies the inbox offers to members of this team: workspace replies, replies of scopeteamsthat list this team, and the caller's personal replies. Combine withscopeto narrow. An unknown or deleted team returns the workspace and personal replies, not an error. For an agent, a team they aren't a member of adds only the replies they can already read through one of their own teams; workspace owners, admins and API keys get that team's replies.- Name
createdBy- Type
- query · string
Return only replies created by this user. Another user's personal replies are included only for workspace owners and admins, and API keys.- Name
query- Type
- query · string
Case-insensitive substring match ontitle,shortcutandbody.- Name
unusedSince- Type
- query · string
Return only replies never used, or last used before this time.- Name
usesSince- Type
- query · string
Countusesfrom this date (UTC) instead of all-time.- Name
pageSize- Type
- query · integer
Values above 100 are reduced to 100; 0 or omitted uses the default (50).- Name
pageToken- Type
- query · string
nextPageTokenfrom the previous page, with the same filters. A token expires after 24 hours.
Responses
- 200Saved repliesListSavedRepliesResponseapplication/json
- defaultErrorProblemDetailsapplication/json
Response body
A 200 response returns a ListSavedRepliesResponse.
- Name
savedReplies- Type
- array<SavedReply>
- required
- Name
nextPageToken- Type
- string
Absent on the last page.
Related schemas
curl "https://api.flownally.com/v1/saved-replies" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"savedReplies": [
{
"id": "string",
"scope": "workspace",
"teamIds": [
"string"
],
"createdBy": "string",
"title": "string",
"shortcut": "string",
"body": {},
"uses": 0,
"lastUsedAt": "2026-04-27T00:00:00.000Z",
"createdAt": "2026-04-27T00:00:00.000Z",
"updatedAt": "2026-04-27T00:00:00.000Z"
}
],
"nextPageToken": "string"
}Create saved reply
https://api.flownally.com/v1/saved-repliesCreates a saved reply; createdBy is the calling user. Any agent can create a
personal reply; workspace and team replies need a workspace owner or admin, or an API
key. An API key can't create a personal reply because it has no user to manage it.
400with codegateway_invalid_request: the request breaks this schema, for example a length, theshortcutpattern, an unknownscopeor more than 50teamIds.400with codemessaging_saved_reply_invalid_input:titleorbodyis only whitespace,teamIdsis empty for scopeteams, or set for another scope.400with codemessaging_saved_reply_body_invalid:bodyisn't a valid template.400with codemessaging_saved_reply_owner_required: an API key created a personal reply.403with codemessaging_saved_reply_manage_shared_denied: an agent created a workspace or team reply.404with codemessaging_saved_reply_team_not_found: a team doesn't exist in the workspace.422with codemessaging_saved_reply_limit_reached: the workspace has 500 workspace and team replies, or the caller has 100 personal replies.
Authorization
- saved_reply:create
- owner
- admin
- agent
Create a saved reply; shared scopes also require saved_reply:manage_shared.
Body parameters
Send a application/json body. The body is required.
- Name
scope- Type
- SavedReplyScope
- required
- Name
title- Type
- string
- required
- Name
body- Type
- SavedReplyBody
- required
- Name
teamIds- Type
- array<string>
Required, with at least one team, for scopeteams; not allowed otherwise.- Name
shortcut- Type
- string
Lower-case letters, digits,-and_.
Responses
- 201Saved reply createdSavedReplyapplication/json
- defaultErrorProblemDetailsapplication/json
Response body
A 201 response returns a SavedReply.
- Name
id- Type
- string
- required
- Name
scope- Type
- SavedReplyScope
- required
- Name
teamIds- Type
- array<string>
- required
Teams of ateamsreply. Deleting a team removes it; the reply keeps scopeteams.- Name
title- Type
- string
- required
- Name
body- Type
- SavedReplyBody
- required
- Name
uses- Type
- integer
- required
Messages accepted for sending that started from the reply. Only the Flownally inbox records uses. All-time, except in a list called withusesSince.- Name
createdAt- Type
- string
- required
- Name
updatedAt- Type
- string
- required
- Name
createdBy- Type
- string
ID of the user who created the reply. It never changes and gives no rights once the reply is shared. Absent when an API key created the reply.- Name
shortcut- Type
- string
Short name agents can type to find the reply. Not unique.- Name
lastUsedAt- Type
- string
Related schemas
curl -X POST "https://api.flownally.com/v1/saved-replies" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"scope": "workspace",
"teamIds": [
"string"
],
"title": "string",
"shortcut": "string",
"body": {}
}'{
"id": "string",
"scope": "workspace",
"teamIds": [
"string"
],
"createdBy": "string",
"title": "string",
"shortcut": "string",
"body": {},
"uses": 0,
"lastUsedAt": "2026-04-27T00:00:00.000Z",
"createdAt": "2026-04-27T00:00:00.000Z",
"updatedAt": "2026-04-27T00:00:00.000Z"
}Get saved reply
https://api.flownally.com/v1/saved-replies/{id}Returns one saved reply with its all-time uses.
404with codemessaging_saved_reply_not_found: the reply doesn't exist, or it is another user's personal reply and the caller is an agent, or it is a team reply and the caller is an agent who isn't a member of any of its teams. API keys, workspace owners and admins read every reply.
Authorization
- saved_reply:read
- owner
- admin
- agent
Read a saved reply visible to the caller.
Parameters
- Name
id- Type
- path · string
- required
Saved reply ID.
Responses
- 200Saved replySavedReplyapplication/json
- defaultErrorProblemDetailsapplication/json
Response body
A 200 response returns a SavedReply.
- Name
id- Type
- string
- required
- Name
scope- Type
- SavedReplyScope
- required
- Name
teamIds- Type
- array<string>
- required
Teams of ateamsreply. Deleting a team removes it; the reply keeps scopeteams.- Name
title- Type
- string
- required
- Name
body- Type
- SavedReplyBody
- required
- Name
uses- Type
- integer
- required
Messages accepted for sending that started from the reply. Only the Flownally inbox records uses. All-time, except in a list called withusesSince.- Name
createdAt- Type
- string
- required
- Name
updatedAt- Type
- string
- required
- Name
createdBy- Type
- string
ID of the user who created the reply. It never changes and gives no rights once the reply is shared. Absent when an API key created the reply.- Name
shortcut- Type
- string
Short name agents can type to find the reply. Not unique.- Name
lastUsedAt- Type
- string
Related schemas
curl "https://api.flownally.com/v1/saved-replies/$SAVED_REPLY_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"{
"id": "string",
"scope": "workspace",
"teamIds": [
"string"
],
"createdBy": "string",
"title": "string",
"shortcut": "string",
"body": {},
"uses": 0,
"lastUsedAt": "2026-04-27T00:00:00.000Z",
"createdAt": "2026-04-27T00:00:00.000Z",
"updatedAt": "2026-04-27T00:00:00.000Z"
}Update saved reply
https://api.flownally.com/v1/saved-replies/{id}Changes the fields that are present. Only the user who created a personal reply can
change it, and only workspace owners and admins, and API keys, can change workspace and
team replies. They can also move anyone's personal reply to scope workspace or
teams, and a reply between those two. A workspace or team reply can't become
personal. createdBy never changes.
400with codegateway_invalid_request,messaging_saved_reply_invalid_inputormessaging_saved_reply_body_invalid: as for create; moving to scopeteamsneedsteamIds.403with codemessaging_saved_reply_manage_shared_denied: an agent changed a workspace or team reply, or moved a personal one to them.403with codemessaging_saved_reply_owner_only: a workspace owner or admin, or an API key, changed another user's personal reply without moving it to scopeworkspaceorteams.404with codemessaging_saved_reply_not_found: the reply doesn't exist, or it is another user's personal reply and the caller is an agent, or it is a team reply and the caller is an agent who isn't a member of any of its teams. API keys, workspace owners and admins read every reply.404with codemessaging_saved_reply_team_not_found: a team isn't a team of the workspace, or it was deleted.422with codemessaging_saved_reply_scope_change_denied: a workspace or team reply was moved to scopepersonal.422with codemessaging_saved_reply_limit_reached: moving a personal reply would exceed 500 workspace and team replies.
Authorization
- saved_reply:update
- owner
- admin
- agent
Update a saved reply; shared replies also require saved_reply:manage_shared.
Parameters
- Name
id- Type
- path · string
- required
Saved reply ID.
Body parameters
Send a application/json body. The body is required.
- Name
scope- Type
- SavedReplyScope
- Name
teamIds- Type
- array<string>
Replaces the reply's teams. Only for scopeteams.- Name
title- Type
- string
- Name
shortcut- Type
- string
An empty string removes the shortcut.- Name
body- Type
- SavedReplyBody
Responses
- 200Saved reply updatedSavedReplyapplication/json
- defaultErrorProblemDetailsapplication/json
Response body
A 200 response returns a SavedReply.
- Name
id- Type
- string
- required
- Name
scope- Type
- SavedReplyScope
- required
- Name
teamIds- Type
- array<string>
- required
Teams of ateamsreply. Deleting a team removes it; the reply keeps scopeteams.- Name
title- Type
- string
- required
- Name
body- Type
- SavedReplyBody
- required
- Name
uses- Type
- integer
- required
Messages accepted for sending that started from the reply. Only the Flownally inbox records uses. All-time, except in a list called withusesSince.- Name
createdAt- Type
- string
- required
- Name
updatedAt- Type
- string
- required
- Name
createdBy- Type
- string
ID of the user who created the reply. It never changes and gives no rights once the reply is shared. Absent when an API key created the reply.- Name
shortcut- Type
- string
Short name agents can type to find the reply. Not unique.- Name
lastUsedAt- Type
- string
Related schemas
curl -X PATCH "https://api.flownally.com/v1/saved-replies/$SAVED_REPLY_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"scope": "workspace",
"teamIds": [
"string"
],
"title": "string",
"shortcut": "string",
"body": {}
}'{
"id": "string",
"scope": "workspace",
"teamIds": [
"string"
],
"createdBy": "string",
"title": "string",
"shortcut": "string",
"body": {},
"uses": 0,
"lastUsedAt": "2026-04-27T00:00:00.000Z",
"createdAt": "2026-04-27T00:00:00.000Z",
"updatedAt": "2026-04-27T00:00:00.000Z"
}Delete saved reply
https://api.flownally.com/v1/saved-replies/{id}Deletes a saved reply and its usage counts. Only the user who created a personal reply can delete it; workspace and team replies need a workspace owner or admin, or an API key.
403with codemessaging_saved_reply_manage_shared_deniedormessaging_saved_reply_owner_only: the caller can't delete this reply.404with codemessaging_saved_reply_not_found: the reply doesn't exist, or it is another user's personal reply and the caller is an agent, or it is a team reply and the caller is an agent who isn't a member of any of its teams. API keys, workspace owners and admins read every reply.
Authorization
- saved_reply:delete
- owner
- admin
- agent
Delete a saved reply; shared replies also require saved_reply:manage_shared.
Parameters
- Name
id- Type
- path · string
- required
Saved reply ID.
Responses
- 204Saved reply deleted
- defaultErrorProblemDetailsapplication/json
Related schemas
curl -X DELETE "https://api.flownally.com/v1/saved-replies/$SAVED_REPLY_ID" \
-H "Authorization: Bearer $FLOWNALLY_API_TOKEN"