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

# Posts

> Posts with sales (`tab=with_sales`) or posts with no sales (`tab=no_sales`). Rows carry the products, brand, GMV, commission, orders, views, likes, comments, shares and saves, and `post_kind` (`video`, `slideshow`, `live`, `other`, or `null` before the post was scraped).

Works with organization keys and creator keys. See [Creator TikTok Shop analytics](https://growi.mintlify.site/essentials/creator-tiktok-shop-analytics.md) for which accounts each key reads.

```bash theme={"dark"}
curl "https://api.growi.io/api/public/v1/tiktok_shop/creator_analytics/posts?user_id=12345&tab=with_sales&sort=gmv&from=2026-10-01&to=2026-11-24" \
  -H "Authorization: Bearer growi-sk-YOUR-API-KEY"
```


## OpenAPI

````yaml GET /tiktok_shop/creator_analytics/posts
openapi: 3.0.1
info:
  title: Growi API
  description: >-
    API documentation for Growi platform, showcasing the public tracking event
    endpoint
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.growi.io/api/public/v1
security:
  - bearerAuth: []
paths:
  /tiktok_shop/creator_analytics/posts:
    get:
      summary: Posts
      description: >-
        Posts with sales (`tab=with_sales`) or posts with no sales
        (`tab=no_sales`). Rows carry the products, brand, GMV, commission,
        orders, views, likes, comments, shares and saves, and `post_kind`
        (`video`, `slideshow`, `live`, `other`, or `null` before the post was
        scraped).
      parameters:
        - name: tab
          in: query
          required: false
          description: Which posts. Default with_sales.
          schema:
            type: string
            enum:
              - with_sales
              - no_sales
        - name: sort
          in: query
          required: false
          description: Sort by.
          schema:
            type: string
            enum:
              - gmv
              - commission
              - orders
              - views
              - posted_at
        - name: brand
          in: query
          required: false
          description: Only posts that sold this brand.
          schema:
            type: string
        - name: product_id
          in: query
          required: false
          description: Only posts that sold this product.
          schema:
            type: string
        - name: user_id
          in: query
          required: false
          description: >-
            One creator. With an organization key: that creator's accounts that
            are shared with you; a creator with none answers 404. With a creator
            key: optional, and only your own user id. Leave it out for every
            account the key can read
          schema:
            type: integer
        - name: account_ids
          in: query
          required: false
          description: >-
            Comma-separated account ids from `GET
            /tiktok_shop/creator_analytics/accounts`, at most 1,000. Narrows the
            selection; any id the key can't read answers 404
          schema:
            type: string
        - name: q
          in: query
          required: false
          description: >-
            Organization keys only, without `user_id`: keep the creators whose
            name, email or @handle contains this. A creator key gets 422
          schema:
            type: string
        - name: exclude_account_ids
          in: query
          required: false
          description: >-
            Organization keys only, without `user_id`: every selected account
            except these. A creator key gets 422
          schema:
            type: string
        - name: organization_id
          in: query
          required: false
          description: >-
            Leave it out. Creators share with your main organization, so a child
            brand answers 403. A creator key gets 422
          schema:
            type: integer
        - name: from
          in: query
          required: false
          description: 'First day, YYYY-MM-DD. Default: the first day of the month.'
          schema:
            type: string
            format: date
        - name: to
          in: query
          required: false
          description: >-
            Last day, YYYY-MM-DD, inclusive. Default: today. At most 3,660 days
            in all.
          schema:
            type: string
            format: date
        - name: tz
          in: query
          required: false
          description: IANA time zone the days are counted in. Default UTC.
          schema:
            type: string
        - name: include_pending
          in: query
          required: false
          description: Count orders that have not settled yet. Default true.
          schema:
            type: boolean
        - name: page
          in: query
          required: false
          description: Page, from 1. Default 1.
          schema:
            type: integer
        - name: per_page
          in: query
          required: false
          description: Rows per page, 1-100. Default 50.
          schema:
            type: integer
        - name: dir
          in: query
          required: false
          description: Sort direction.
          schema:
            type: string
            enum:
              - asc
              - desc
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '401':
          description: >-
            Missing, invalid or revoked API key: `{"error": "Not
            Authenticated"}`
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                          message:
                            type: string
        '403':
          description: >-
            `organization_id` names a child brand. Creators share with your main
            organization
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                          message:
                            type: string
        '404':
          description: A creator, account, post or product this key can't read
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                          message:
                            type: string
        '422':
          description: >-
            Invalid params. `error.code` is `invalid_params` and `error.message`
            says which
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                          message:
                            type: string
        '429':
          description: >-
            Rate limited: 2 seconds between calls and 1,000 creator analytics
            calls per key per hour. See `Retry-After` and the `X-RateLimit-*`
            headers
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                          message:
                            type: string
        '503':
          description: TikTok Shop data is unavailable right now; try again shortly
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                          message:
                            type: string
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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