---
title: "Send message"
method: POST
path: "/api/v1/apps/{appId}/messages"
tags: ["Messages"]
---

# Send message

`POST /api/v1/apps/{appId}/messages`

## Request

- Base URL: `https://api-docs.relin.app`
- URL: `https://api-docs.relin.app/api/v1/apps/{appId}/messages`
- Auth: HTTP bearer

Send a message to a recipient.

## Path parameters

- `appId` string, required

## Request body

- object
  - `recipient` string, required
  - `type` string, required
  - `data` unknown
  - `messageId` string
  - `idempotencyKey` string

## Response `200`

JSON response

- object
  - `message` unknown

## Other responses

- `201`: JSON response
- `202`: JSON response
- `400`: Error response
- `401`: Error response
- `403`: Error response
- `404`: Error response

---

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