---
title: "Pop a message from the inbound message queue"
method: GET
path: "/api/v1/messages"
tags: ["Message"]
---

# Pop a message from the inbound message queue

`GET /api/v1/messages`

Pop a message from the inbound message queue. The message is removed from the queue and won't be shown again

## Response `200`

Message retrieved

- InboundMessage — A message received by the system
  - `id` string — Id of the message, hex encoded
  - `src` string — Sender public key, hex encoded
  - `dst` string — Receiver public key, hex encoded. This is the public key of the system
  - `payload` string, byte — The message payload, encoded in standard alphabet base64

## Other responses

- `204` — No message ready

## Changes

- **2023-10-27** `0ebb5659d3ca` — 1 info
  - endpoint added
- **2023-10-26** `1c37c167d50d` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/threefoldtech/apis/mycelium-management/changes/api/v1/messages/get.md)

---

[API](https://skmtc.dev/threefoldtech/apis/mycelium-management.md) · [All operations](https://skmtc.dev/threefoldtech/apis/mycelium-management/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/threefoldtech/mycelium-management/revisions/0ebb5659d3ca/schema)
