---
search:
  tags:
    - Messages
    - POST
seo:
  description: >-
    Publish up to 100 messages in a single request. Reference for the POST
    /api/v2/messages/batch endpoint in the Anlyon API.
sidebar:
  label: Publish multiple messages in batch
  badge: POST
title: Publish multiple messages in batch
type: openapi-operation
---
Publish up to 100 messages in a single request.

Against a key budget a batch costs one unit per message, and admission
is all-or-nothing: a batch that does not fit the remaining cap is
refused whole with `429 BUDGET_EXCEEDED` and none of its messages are
enqueued. Split the batch or raise the cap.

`POST /api/v2/messages/batch`
