- API reference
- Conversations
Archive a whole inbox list or bring it back
POSThttps://app.notert.io/api/v1/conversations/move-all
Archives every conversation in one of the inbox's lists, or brings an archived or spam list back to the inbox, as the list's Archive all and Move all to inbox do: the list named by the query, view, assignee, customer and plan that GET /conversations takes and none of its other fields, so assigneeId or customerId sent here narrows nothing, its newest 1000 a call. One whose customer wrote after seenAt stays where it is. stayed counts those left; more says whether another call has more.
A token with conversations:write. How to send one
Request
curl -X POST https://app.notert.io/api/v1/conversations/move-all \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"query": "invoice",
"view": "queue",
"assignee": "unassigned",
"customer": "paying",
"plan": "Pro",
"seenAt": "2026-11-20T09:12:00.123Z",
"folder": "archived"
}'Response 200
{
"stayed": 0,
"more": false
}Body
querystringWords every conversation listed holds in what was said, internal notes included, or in the customer's name or address. Empty lists them all.
At most 200 characters.
viewstringWhich of the inbox's views: all (every conversation in the inbox, snoozed ones included, the default), queue (open, with the customer waiting on the team), open, resolved, unread, snoozed, archived or spam.
One ofqueueopenallunreadsnoozedresolvedspamarchivedDefault "all".
assigneestringteam (the default) for everyone's, or unassigned for those no one answers.
One ofunassignedteamDefault "team".
customerstringBy what the customer pays the workspace: everyone (the default), paying, or trial (on a trial with nothing paying).
One ofeveryonepayingtrialDefault "everyone".
planstringOnly customers on this plan, paying or on a trial, by its exact name as plan answers it. Empty for any plan.
At most 200 characters.
seenAtdate-timeRequiredThe newest lastActivityAt GET /conversations answered for this list: a conversation whose customer wrote after it stays as it is.
folderstringRequiredarchived puts them away; inbox brings an archived or spam list back to the inbox.
One ofarchivedinbox
Response 200
stayedintegerHow many of the list stayed as they were, since their customer wrote after seenAt.
morebooleanWhether the list holds more past the newest 1000 one call acts on: send the same call again for them.
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 reply to or organize 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. - 403
NO_SEATThis workspace's plan has no seat for you. - 403
NOT_ALLOWEDThat view offers no such move: archive from any view but archived, and bring back only archived or spam conversations. - 403
WORKSPACE_SUSPENDEDThis workspace is suspended. - 409
CHANGED_MEANWHILESomething changed meanwhile. Try again. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.