Skip to the page
API pages

Guides

Endpoints

Requests15
Deleted requests2
Comments5
Comment search1
Voters3
Followers3
Boards4
Tags5
Issues5
Statuses1
Roadmap2
Insights10
Search1
People5
Teammates4
Conversations14
Operators1
Saved replies4
Changelog entries12
Changelog tags4
Changelog subscribers2
Help articles12
Help collections3
System status4
Knowledge sources8
Knowledge pages3
Otto5
Moderation2
Audit log1
Webhooks6
Webhook deliveries2
Token1

Mark a whole inbox list read

POSThttps://app.notert.io/api/v1/conversations/read-all

Marks every unread conversation in one of the inbox's lists read for the team, as the list's Mark all as read does: 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. Each is read up to the call, so one a message reaches meanwhile stays unread. Archived and spam lists offer no such press. more says whether another call has more to mark.

A token with conversations:write. How to send one

Request

curl -X POST https://app.notert.io/api/v1/conversations/read-all \
  -H "Authorization: Bearer $NOTERT_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "invoice",
  "view": "queue",
  "assignee": "unassigned",
  "customer": "paying",
  "plan": "Pro"
}'

Response 200

{
  "more": false
}

Body

  • querystring

    Words 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.

  • viewstring

    Which 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 ofqueueopenallunreadsnoozedresolvedspamarchived

    Default "all".

  • assigneestring

    team (the default) for everyone's, or unassigned for those no one answers.

    One ofunassignedteam

    Default "team".

  • customerstring

    By what the customer pays the workspace: everyone (the default), paying, or trial (on a trial with nothing paying).

    One ofeveryonepayingtrial

    Default "everyone".

  • planstring

    Only 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.

Response 200

  • moreboolean

    Whether the list holds more past the newest 1000 one call acts on: send the same call again for them.

Errors

  • 400BAD_REQUESTInput validation failed.
  • 401UNAUTHORIZEDSend a valid API token as a Bearer token.
  • 403HOLDER_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.
  • 403INSUFFICIENT_SCOPEThis API token can't reply to or organize conversations. Create one that may in the workspace's settings.
  • 403NETWORK_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.
  • 403NO_SEATThis workspace's plan has no seat for you.
  • 403NOT_ALLOWEDArchived and spam conversations offer no Mark all as read.
  • 403WORKSPACE_SUSPENDEDThis workspace is suspended.
  • 409CHANGED_MEANWHILESomething changed meanwhile. Try again.
  • 429TOO_MANY_REQUESTSToo Many Requests. Its data holds retryAfter.

A refusal names its code beside a message. Rate limits says when to try again.