Skip to content

Mark every inbound message from this contact read

POST/v1/conversations/{contact}/readKey · read

Mark every inbound message from this contact read (scope read).

Authentication

API key: Authorization: Bearer sl_live_… with the read scope. The dashboard session works too.

An API key always acts in its own workspace. With a dashboard session, pass ?workspaceId= to choose the workspace (default: your first).

Parameters

NameInDescription
contact
required
path

string — E.164 number or alphanumeric sender, URL-encoded.

Response

204 — Marked read

Errors

Errors are JSON: {"error": "<code>", "message": "<a sentence>"}. Branch on error, show message. Every code is explained in Errors.

StatuserrorWhen
401unauthorizedMissing or invalid API key / session
403forbiddenAPI key lacks the required scope
404not_foundNo messages with this contact
500internalInternal error

Examples

Set SIMLINE_API_KEY to your key first. Node examples use the built-in fetch (Node 18+, run as an ES module); Python uses requests.

Terminal window
curl -X POST "https://api.simline.dev/v1/conversations/%2B12125550142/read" \
-H "Authorization: Bearer $SIMLINE_API_KEY"