Skip to content

Get Folder Counts

GET
/api/creative/email/messages/counts

Get message counts per folder (total + unread).

account_id
required
Account Id
string

Successful Response

FolderCountsResponse

Response wrapper for folder counts.

object
success
required
Success

Operation success

boolean
counts
Counts
object
key
additional properties
FolderCount

Count summary for a single folder.

object
total
required
Total
integer
unread
required
Unread
integer
error
Any of:
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object