---
title: "Find Message"
method: GET
path: "/v2/canary/messages"
tags: ["Canary"]
---

# Find Message

`GET /v2/canary/messages`

## Request

- Base URL: `https://api.mentium.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mentium.io/v2/canary/messages`
- Auth: none declared

Whether the key's workspace stored a message containing the code in the last hour, whatever its direction.

## Query parameters

- `code` string, required
- `channel` 'SMS' | 'WHATSAPP' | 'EMAIL', required

## Headers

- `X-API-Key` string, nullable: API key for authentication

## Response `200`

Successful Response

- CanaryMessageResponse
  - `found` boolean, required: Whether a message containing the code was stored
  - `sent_at` string, date-time, nullable: When the matching message was sent, if found

## Other responses

- `422`: Validation Error

---

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