cURL
curl --request PUT \ --url https://api.veryfront.com/conversations/{conversation_id}/read-state \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "last_read_message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "unread_count": 1 }
Advances the read cursor for the authenticated user in a conversation
Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.
Conversation ID
Updated read state
x >= 0