Skip to content

Mark a mail tab seen, which clears its badge

The OpenAPI spec (JSON)Licence, versions and sign-in

POST
/api/v1/mail/seen
curl --request POST \
--url https://deck.example.com/api/v1/mail/seen \
--header 'Content-Type: application/json' \
--cookie qd_auth=<qd_auth> \
--data '{ "kind": "draft" }'
Media typeapplication/json
object
kind
required
string
Allowed values: draft sent
Media typeapplication/json

Example generated

example

An error, with its message.

Media typeapplication/json

Every error the REST API returns, with an HTTP status.

object
error
required
string

Example generated

{
"error": "example"
}