- API reference
- Saved replies
List saved replies
GEThttps://app.notert.io/api/v1/saved-replies
A page of the team's saved replies, the answers it sends again and again from the inbox, by title, each with what it says in full.
A token with conversations:read. How to send one
Request
curl "https://app.notert.io/api/v1/saved-replies?query=refund" \
-H "Authorization: Bearer $NOTERT_API_TOKEN"Response 200
{
"items": [
{
"id": "5d2b8f1a-3c4e-4a6b-9d0f-1e3a5c7b9d24",
"title": "Refunds",
"body": "Hi {first_name}, we refund any order within 14 days."
}
],
"nextCursor": "WyJyZWZ1bmRzIiwiNWQyYjhmMWEtM2M0ZS00YTZiLTlkMGYtMWUzYTVjN2I5ZDI0Il0"
}Query parameters
querystringWords every saved reply listed holds in its title or what it says, whatever their case or accents.
At most 200 characters.
limitintegerHow many saved replies the page holds, at most 200.
1 to 200. Default 50.
cursorstringThe nextCursor of the page before.
At most 4096 characters.
Response 200
itemsobject[]The page's saved replies, by title whatever its case.
idstringThe saved reply's id.
titlestringThe title the team finds it by in the inbox, the workspace's once in any case.
bodystringWhat it says, as plain text, as the team sends it. {first_name} stands for the customer's first name and {my_name} for the writer's, filled in as it is sent.
nextCursorstring or nullWhere the next page starts, to send as cursor. Null on the last page.
Errors
- 400
BAD_REQUESTInput validation failed. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. - 403
INSUFFICIENT_SCOPEThis API token can't read conversations. Create one that may in the workspace's settings. - 403
NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.