API referenceInbox
Mark Inbox Read
Mark inbox notifications as read. Pass id or ids, or set all_unread to mark every unread notification visible to this user. App connections need the booking:write or inventory:write scope.
POST
/inbox/notifications/readcurl -X POST "https://dash.lockii.app/api/v1/inbox/notifications/read" \
-H "x-api-key: $LOCKII_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"all_unread": true,
"id": "string",
"ids": [
"string"
]
}'Authorization
x-api-keystringheaderAPI key from Settings → Integrations → API.
AuthorizationstringheaderThe same API key, or an OAuth access token, sent as Authorization: Bearer.
api_keystringqueryAPI key query parameter.
Body
application/json
all_unreadbooleanWhen true, apply the action to every unread inbox notification visible to this user
idstringInbox notification ID
idsstring[]Inbox notification IDs
Response
application/json
JSON result for this operation.
object
{}