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

# Get Snapchat analytics stats

> Returns engagement stats for a Snapchat profile, story, saved story or Spotlight post programmatically via Posttu's Snapchat API and MCP server.



## OpenAPI

````yaml openapi.json POST /api/v1/snapchat/analytics/stats
openapi: 3.1.0
info:
  title: Posttu API
  version: 1.0.0
  description: >-
    Posttu V1 REST API — Workflow automation, social-media post management,
    inbox, tags, and calendar.
servers:
  - url: https://posttu.com
    description: Production
security: []
paths:
  /api/v1/snapchat/analytics/stats:
    post:
      tags:
        - Snapchat
      summary: Get Snapchat analytics stats
      description: >-
        Returns engagement stats for a Snapchat profile, story, saved story or
        Spotlight post.

        Requires API key scope: `snapchat:read`.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SnapchatGetAnalyticsStatsInput'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SnapchatAnalyticsStatsResponse'
        '401':
          description: Error response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                required:
                  - error
      security:
        - ApiKeyAuth: []
components:
  schemas:
    SnapchatGetAnalyticsStatsInput:
      type: object
      properties:
        channelId:
          type: string
          description: Snapchat channel ID
          example: ch_snap123
        type:
          type: string
          enum:
            - profile
            - story
            - saved_story
            - spotlight
        id:
          type: string
      required:
        - channelId
        - type
    SnapchatAnalyticsStatsResponse:
      type: object
      properties:
        success:
          type: boolean
          description: Success status
        data:
          $ref: '#/components/schemas/SnapchatStatsResponse'
      required:
        - success
        - data
    SnapchatStatsResponse:
      type:
        - object
        - 'null'
      properties:
        request_id:
          type: string
        request_status:
          type: string
          enum:
            - SUCCESS
            - PARTIAL
        granularity:
          type: string
          enum:
            - DAY
            - TOTAL
            - LIFETIME
        assets:
          type: array
          items:
            $ref: '#/components/schemas/SnapchatAssetStats'
        paging:
          $ref: '#/components/schemas/SnapchatPaging'
      additionalProperties: {}
      description: The SnapchatStatsResponse.
    SnapchatAssetStats:
      type: object
      properties:
        sub_request_status:
          type: string
          enum:
            - SUCCESS
            - ERROR
        error_message:
          type: string
        asset_type:
          type: string
        asset_id:
          type: string
        timeseries:
          type: array
          items:
            $ref: '#/components/schemas/SnapchatTimeseries'
      additionalProperties: {}
    SnapchatPaging:
      type: object
      properties:
        next_page_id:
          type: string
        next_link:
          type: string
        next_page_link:
          type: string
      additionalProperties: {}
    SnapchatTimeseries:
      type: object
      properties:
        start_time:
          type: string
        end_time:
          type: string
        fields:
          type: array
          items:
            $ref: '#/components/schemas/SnapchatStatsField'
      additionalProperties: {}
    SnapchatStatsField:
      type: object
      properties:
        field:
          type: object
          properties:
            field_name:
              type: string
            report_dimension:
              type: string
          additionalProperties: {}
        stats:
          type: array
          items:
            $ref: '#/components/schemas/SnapchatStatValue'
      additionalProperties: {}
    SnapchatStatValue:
      type: object
      properties:
        dimension_breakdown:
          type: string
        value:
          type: string
        percentage_value:
          type: number
      additionalProperties: {}
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      description: 'Pass your API key via the Authorization header: `Bearer <api-key>`'

````

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