# Counts for the rail

`GET /workspace/inbox/folders` · Rivier · inbox

Counts for the rail: each folder with its unread count, mailboxes, labels, assigned to me, overdue.

- Scope: inbox:read
- Graphql: Query.inboxDeskFolders
- Sdk: inbox.desk.folders
- Cli: inbox desk folders

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X GET 'https://api.rivier.ai/workspace/inbox/folders' \
  -H 'Authorization: Bearer $KEY'
```
