POST /v1/rooms/:id/chat/request
The POST /v1/rooms/:id/chat/request
endpoint allows you to request that the specified Nomi post a message to the room.
- HTTP Method
POST
- URL
https://api.nomi.ai/v1/rooms/:id/chat/request
- URL Parameters
{
id: UUID;
}- Request Body Format
{
nomiUuid: UUID;
}- Response Body Format
{
replyMessage: {
uuid: UUID;
text: string;
sent: ISODateString;
};
}- Error Response Types
Type Description RoomNotFound
The specified room was not found. It may not exist or may not be associated with this account. RoomNomiNotFound
The specified Nomi is not found within the specified room. InvalidRouteParams
The id
parameter or thenomiId
parameter is not a valid UUID.InvalidContentType
The Content-Type
header is notapplication/json
.NoReply
The Nomi did not reply. This is rare but will occur if there is a server issue or if the nomi does not respond within 15 seconds. InsufficientPlan
User plan is not entitled to room feature. RoomStillCreating
Immediately after the creation of a room, there is a short period of several seconds before any messages can be sent to the room. RoomNomiNotReadyForMessage
The Nomi is already replying a user message and so cannot reply to this message.