List saved replies
GET
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
Required scopes
- saved_reply:list
Allowed roles
- 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
Generated from the API spec.