> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superskope.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Read retained group text and caption history

> Requires history:read and messages:read. Selected-conversation access and current account checks apply.



## OpenAPI

````yaml /openapi.json get /groups/{groupId}/history
openapi: 3.1.0
info:
  title: SuperSkope Customer API
  version: 1.3.0
  description: >-
    Dedicated selected-phone customer API. Keys remain server-side, bound to one
    phone, granular permissions and exact selected conversations. groups:create
    explicitly grants phone-wide creation. The separate opt-in groups:created
    grants conversation access only to verified groups created by this key on
    this phone; every read/send/management scope remains required. Stable
    Idempotency-Key required for mutations; unknown operations never retry.
    Staff administration and arbitrary engine/session lifecycle calls are
    excluded. Additive transport routes expose capabilities, exact messages,
    verified access, private pictures, explicit chat state actions and retained
    group history. Older installations may not provide them. Existing registered
    agents can be explicitly delegated to scoped customer keys; pull agents can
    be created and enrolled within exact owner-granted scopes; existing callback
    identities remain separately delegated compatibility clients.
servers:
  - url: https://your-installation.example/api/v1
    description: >-
      Placeholder only. Replace with your dedicated SuperSkope HTTPS origin;
      this is not a public service endpoint.
security: []
paths:
  /groups/{groupId}/history:
    get:
      tags:
        - Transport
      summary: Read retained group text and caption history
      description: >-
        Requires history:read and messages:read. Selected-conversation access
        and current account checks apply.
      operationId: getGroupsGroupIdHistory
      parameters:
        - name: groupId
          in: path
          required: true
          schema:
            type: string
        - name: since
          in: query
          required: false
          schema:
            type: string
            format: date-time
        - name: until
          in: query
          required: false
          schema:
            type: string
            format: date-time
        - name: after
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 100
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupHistory'
        '400':
          description: Invalid fields, ID, cursor or request key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Customer credential missing, expired or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Scope, number, conversation or origin is not authorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Route or authorized resource is unavailable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '405':
          description: Method is not supported.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Version, identity, request-key or uncertain-operation conflict.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '410':
          description: >-
            Event cursor expired; resync authorized history before a new
            subscription.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '413':
          description: Request or decoded attachment exceeds the documented limit.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '415':
          description: Use application/json for a write.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '416':
          description: Single byte range is invalid or unsatisfiable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Usage/concurrency limit; respect Retry-After when provided.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: >-
            Upstream result unavailable; a write may already have been
            submitted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: >-
            Installation temporarily unavailable; inspect an original write
            before resubmitting.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - customerKey: []
components:
  schemas:
    GroupHistory:
      type: object
      properties:
        accountId:
          type: string
        chatId:
          type: string
        name:
          type: string
        since:
          type: string
        until:
          type: string
        recordedSince:
          type: string
        coverage:
          type: string
        messages:
          type: array
          items:
            type: object
            properties:
              cursor:
                type: integer
              id:
                type: string
              actor:
                type: string
              timestamp:
                type: string
                format: date-time
              text:
                type: string
              forwarded:
                type: boolean
              quoted:
                type: boolean
              truncated:
                type: boolean
        hasMore:
          type: boolean
        nextCursor:
          type: integer
        latestCursor:
          type: integer
      required:
        - accountId
        - chatId
        - messages
        - coverage
        - hasMore
        - nextCursor
        - latestCursor
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
  securitySchemes:
    customerKey:
      type: http
      scheme: bearer
      bearerFormat: ss_api_…

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.