---
title: "[BETA] get stories"
method: POST
path: "/instances/{id}/client/action/get-stories"
tags: ["story"]
---

# [BETA] get stories

`POST /instances/{id}/client/action/get-stories`

Retrieves all available stories/status updates that are visible to the authenticated user. This includes both viewed and unviewed stories from contacts. Note: This endpoint is currently in beta and may change without notice.

## Path parameters

- `id` integer, required

## Response `200`

Successfully retrieved stories

- object
  - `status` 'success' | 'error'
  - `instanceId` string
  - `data` object
    - `stories` object[]
      - `id` object
        - `server` string
        - `user` string
        - `_serialized` string
      - `timestamp` integer — Unix timestamp of when the story was posted
      - `totalCount` integer — Total number of stories from this contact
      - `unreadCount` integer — Number of unviewed stories from this contact
      - `msgs` object[]
        - `mediaKey` string — Encrypted media key for the story content
        - `id` object
          - `fromMe` boolean
          - `remote` object
            - `server` string
            - `user` string
            - `_serialized` string
          - `participant` object
            - `server` string
            - `user` string
            - `_serialized` string
        - `type` 'image' | 'video' | 'text' — Type of story content
        - `timestamp` integer — Unix timestamp of the individual story
        - `from` string
        - `to` string
        - `author` string
    - `textStatuses` object[] — Text/bio statuses from contacts (separate collection from media stories)
      - `id` object
        - `server` string
        - `user` string
        - `_serialized` string
      - `status` string — The contact's current text/bio status
  - `links` object
    - `self` string

## Other responses

- `401` — Unauthorized — invalid or missing bearer token
- `403` — Forbidden — insufficient permissions or account blocked
- `404` — Not found — instance does not exist or does not belong to you
- `409` — Conflict — instance is not ready
- `422` — Validation error — invalid or missing request parameters
- `429` — Too many requests — rate limit exceeded

---

[API](https://skmtc.net/waapi/apis/waapi-api.md) · [All operations](https://skmtc.net/waapi/apis/waapi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/waapi/waapi-api/revisions/1e2cc7c12090/schema)
