# Batch Messages

> Send multiple messages in a single request

## Endpoint

`POST https://qstash-{region}.upstash.io/v2/batch`

## Request body


## Responses

### 200 - Messages published successfully


### 400 - Bad request

- `error` (string, required): Error message

## cURL

```bash
curl --request POST \
  --url https://qstash-{region}.upstash.io/v2/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '[{"destination":"<string>","body":"<string>","headers":"<string>","queue":"<string>"}]'
```
