---
title: "Classify pending inbox"
method: POST
path: "/v1/inbox/classifyPending"
tags: ["inbox"]
---

# Classify pending inbox

`POST /v1/inbox/classifyPending`

## Request

- Base URL: `https://api.zevari.ai`
- URL: `https://api.zevari.ai/v1/inbox/classifyPending`
- Auth: HTTP bearer

Transport: call this endpoint with HTTP POST and a JSON request body. Fetch unclassified inbox messages from the database ready for intent classification.

## Request body

- object
  - `limit` number: Max messages to return for classification (default 20)

## Response `200`

Successful Zevari API response.

- ZevariResponseEnvelope
  - `ok` boolean, required: False when the underlying tool reports an error or a partial failure.
  - `method` string, required: Public API method name.
  - `data` unknown, required
  - `request_id` string, required: Request correlation ID. Also returned in X-Zevari-Request-Id.

## Other responses

- `400`: Invalid arguments or method execution error.
- `401`: Missing, invalid, expired, revoked, or unauthorized API key.
- `404`: Unknown or non-public Zevari API method.
- `429`: API key rate limit exceeded.
- `500`: Unhandled server error.

---

[API](https://skmtc.dev/zevari/apis/zevari-public-api.md) · [All operations](https://skmtc.dev/zevari/apis/zevari-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zevari/apis/zevari-public-api/revisions/a0bc3afac227?raw)
