# List a room's pinned messages, most recently pinned first

Source: <https://everruns.com/docs/api/operations/list_room_pins/>

[Docs](https://everruns.com/docs/)/[API reference](https://everruns.com/docs/api/)/[Sessions & workspaces](https://everruns.com/docs/api/groups/sessions-workspaces/)/List a room's pinned messages, most recently pinned first

# List a room's pinned messages, most recently pinned first

Preview

Manage execution sessions and rooms, and their files, tasks, storage, databases and managed sandboxes.

Public APIEverruns Cloud and self-hosted Platform

GET`/v1/rooms/{room_id}/pins`

See [authentication](https://everruns.com/docs/sre/runbooks/authentication/) for credentials and permissions.

## Parameters

### Path Parameters

**room_id**

required

string

Prefixed public identifier

## Responses

200Success

### 200

Success

Media typeapplication/json

A page of messages.

object

**data**

required

Messages, oldest first.

Array\<object>

A message in a room.

object

**author**

One of:

* object

  Absent for a room notice.

  object

  **display_name**

  required

  Name shown with the message.

  string

  **handle**

  required

  Mention name, written `@handle`.

  string

  **id**

  required

  Member id of the author.

  string

  **kind**

  required

  Person, Everruns agent, outside agent or guest.

  string

  Allowed values: person agent outside_agent guest

* null

  null

**created_at**

required

When it was posted.

string format: date-time

**deleted**

required

Whether it was deleted; a marker stays in its place.

boolean

**edited_at**

When it was last edited.

string | null format: date-time

**hops**

required

Agent posts in a row up to this message (0 when a person wrote it).

integer format: int32

**id**

required

Prefixed message id (`rmsg_...`).

string

**last_reply_at**

When its thread last got a reply.

string | null format: date-time

**mentions**

required

Members the text mentions, resolved when it was posted.

Array\<object>

A member a message mentions.

object

**handle**

required

Mention name as written.

string

**id**

required

Member id of the mentioned member.

string

**pinned**

required

Whether it is pinned to the room.

boolean

**reactions**

required

Reactions, one entry per emoji.

Array\<object>

One emoji on a message, with who added it.

object

**count**

required

How many members added it.

integer

**emoji**

required

The emoji, as text.

string

**member_ids**

required

Members who added it.

Array\<string>

**reply_count**

required

Replies in its thread, for a top-level message.

integer format: int32

**room_id**

required

The room it was posted in.

string

**session_id**

The agent session that wrote it, for agent posts.

string | null

**text**

required

Markdown. Empty once deleted.

string

**thread_id**

The thread it is a reply in (its root message); absent at the top level.

string | null

**url**

Where it opens in the builder’s product (the room’s `link_template`).

string | null

**has_more**

required

Whether older messages exist before the first one returned.

boolean

### Example

```json
{
  "data": [
    {
      "author": {
        "display_name": "Triage agent",
        "handle": "triage",
        "id": "rmem_01933b5a000070008000000000000003",
        "kind": "person"
      },
      "created_at": "2026-11-10T15:04:05Z",
      "deleted": false,
      "edited_at": "2026-11-10T15:04:05Z",
      "hops": 0,
      "id": "rmsg_01933b5a000070008000000000000002",
      "last_reply_at": "2026-11-10T15:04:05Z",
      "mentions": [
        {
          "handle": "triage",
          "id": "rmem_01933b5a000070008000000000000003"
        }
      ],
      "pinned": false,
      "reactions": [
        {
          "count": 2,
          "emoji": "👀",
          "member_ids": [
            "rmem_01933b5a000070008000000000000003"
          ]
        }
      ],
      "reply_count": 3,
      "room_id": "room_01933b5a000070008000000000000001",
      "session_id": "session_01933b5a000070008000000000000006",
      "text": "@triage can you check ticket 4521?",
      "thread_id": "rmsg_01933b5a000070008000000000000002",
      "url": "https://desk.example.com/rooms/room_01933b5a000070008000000000000001/m/rmsg_01933b5a000070008000000000000002"
    }
  ],
  "has_more": false
}
```

FetchcURL

Request

```js
const url = 'https://app.everruns.com/api/v1/rooms/example/pins';
const options = {method: 'GET'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

Request

```sh
curl --request GET \
  --url https://app.everruns.com/api/v1/rooms/example/pins
```

Additional language examples require JavaScript. The default request example is available above.

200

200 · Success

```json
{
  "data": [
    {
      "created_at": "2026-11-10T15:04:05Z",
      "deleted": false,
      "edited_at": "2026-11-10T15:04:05Z",
      "hops": 0,
      "id": "rmsg_01933b5a000070008000000000000002",
      "last_reply_at": "2026-11-10T15:04:05Z",
      "mentions": [],
      "pinned": false,
      "reactions": [],
      "reply_count": 3,
      "room_id": "room_01933b5a000070008000000000000001",
      "session_id": "session_01933b5a000070008000000000000006",
      "text": "@triage can you check ticket 4521?",
      "thread_id": "rmsg_01933b5a000070008000000000000002",
      "url": "https://desk.example.com/rooms/room_01933b5a000070008000000000000001/m/rmsg_01933b5a000070008000000000000002"
    }
  ],
  "has_more": false
}
```

## Matching endpoints