List Mail splits
Returns the signed-in reader’s saved filters in sidebar order.
GET
Returns the signed-in reader’s saved filters in sidebar order. Splits are private to this user and organization. Requires a person signed in through Mail or the CLI.
apiKeyheader
x-api-key<token>Success
application/json- response
[index: integer]?import { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.mailboxes.listSplits({});Example Response
[
{
"id": "string",
"name": "string",
"filter": {
"kind": "query",
"query": "string"
},
"mailboxId": "string",
"position": -9007199254740991
}
]