---
title: "Send a message to a Genie session"
method: POST
path: "/genie/sessions/{sessionId}/messages"
tags: ["Genie (Beta)"]
---

# Send a message to a Genie session

`POST /genie/sessions/{sessionId}/messages`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/genie/sessions/{sessionId}/messages`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/genie/sessions/:sessionId/messages/post.ts> (a function with typed inputs; its response is checked against the schema)

Sends a question to Genie and returns a single answer. Reuse the `sessionId` from the original session on follow-up messages to continue the conversation with prior context.

**Note:** This endpoint is currently in beta and might be subject to changes.

## Path parameters

- `sessionId` string, required

## Headers

- `Idempotency-Key` string

## Request body

- GenieSendMessageRequest
  - `content` string, required: The natural-language question or instruction to send to Genie.

## Response `200`

Genie response

- GenieChatMessage
  - `id` string, required: The unique identifier of the message.
  - `sessionId` string, required: The Genie session this message belongs to.
  - `role` string, required: Who produced the message — `USER` for the customer-supplied query, `ASSISTANT` for the Genie response.
  - `content` string, required: The natural-language body of the message.
  - `createdAt` integer: Message creation timestamp in epoch milliseconds.

## Other responses

- `default`: Error Response

---

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