---
title: "Get the status of batches by metadata"
method: GET
path: "/v1/projects/{project_id}/messages"
tags: ["Messages"]
---

# Get the status of batches by metadata

`GET /v1/projects/{project_id}/messages`

Retrive the status of batches that match the metadata provided.

## Query parameters

- `metadataKey` string, required
- `metadataValue` string, required

## Response `200`

OK

- GetBatchStatusResponse[] — List of batch statuses filtered by metadata
  - `batch_id` string — The ID of the batch of messages.
  - `meta_data` object — The metadata associated with the batch of messages.
  - `status` 'READY' | 'SCHEDULED' | 'PROCESSED' | 'CANCELLED' — The status of the batch of messages.
  - `send_after` string, ISO 8601 — The date and time when the batch of messages is or was scheduled to be sent to recipients.

## Other responses

- `401` — Invalid credentials
- `403` — Permission denied. The specified project may not be allowed to use the batch endpoint.
- `500` — Internal error

---

[API](https://skmtc.net/sinch/apis/conversation-api-batch-api-sinch.md) · [All operations](https://skmtc.net/sinch/apis/conversation-api-batch-api-sinch/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sinch/conversation-api-batch-api-sinch/revisions/c4c26e52b406/schema)
