AladiaDocs
Api referenceRooms

Add pinned messages to a room

Create a pinned message

POST
/v2/rooms/{id}/pinned-messages

Create a pinned message

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v2/rooms/string/pinned-messages" \  -H "Content-Type: application/json" \  -d '{    "messageIds": [      "string"    ]  }'
{}