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

# Free samples

> Free sample requests from TikTok Shop, grouped by where each stands: content needed, post overdue, on the way, pending approval, fulfilled and rejected, with the product, brand and post-by date.

Works with organization keys and creator keys. See [Creator TikTok Shop analytics](https://docs.growi.io/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/samples?user_id=900000001" \
  -H "Authorization: Bearer growi-sk-YOUR-API-KEY"
```


## OpenAPI

````yaml GET /tiktok_shop/creator_analytics/samples
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/samples:
    get:
      summary: Free samples
      description: >-
        Free sample requests from TikTok Shop, grouped by where each stands:
        content needed, post overdue, on the way, pending approval, fulfilled
        and rejected, with the product, brand and post-by date.
      parameters:
        - 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
      responses:
        '200':
          description: OK
          content:
            application/json:
              examples:
                ok:
                  value:
                    counts:
                      content_needed: 3
                      overdue: 1
                      on_the_way: 2
                      pending_approval: 4
                      fulfilled: 27
                      rejected: 5
                      cancelled: 2
                      other: 0
                    samples:
                      - application_id: '7012345678901234567'
                        account_id: 900001
                        bucket: content_needed
                        status: CONTENT_PENDING
                        product:
                          id: '1731234567890123456'
                          name: Hydrating Lip Oil
                          brand: Glow Lab
                          image_url: https://p16-oec-va.ibyteimg.com/example/lip-oil.jpg
                          price_minor: 2999
                          currency: USD
                        post_by_at: '2026-11-12T23:59:00Z'
                        days_left: 9
                        applied_at: null
                        status_changed_at: '2026-10-29T16:20:00Z'
                  summary: Example
              schema:
                type: object
                properties:
                  counts:
                    type: object
                    properties:
                      content_needed:
                        type: integer
                        description: Content still owed
                      overdue:
                        type: integer
                        description: Post-by date passed
                      on_the_way:
                        type: integer
                        description: Being shipped
                      pending_approval:
                        type: integer
                        description: Waiting for the seller
                      fulfilled:
                        type: integer
                        description: 'Content posted: done'
                      rejected:
                        type: integer
                        description: Rejected by the seller
                      cancelled:
                        type: integer
                        description: Cancelled
                      other:
                        type: integer
                        description: Any other status
                    description: Samples per group
                  samples:
                    type: array
                    items:
                      type: object
                      properties:
                        application_id:
                          type: string
                          description: TikTok sample application id
                        account_id:
                          type: integer
                          description: >-
                            Growi id of the TikTok Shop account (use it in
                            account_ids)
                        bucket:
                          type: string
                          description: >-
                            Group: content_needed, overdue, on_the_way,
                            pending_approval, fulfilled, rejected, cancelled,
                            other
                        status:
                          type: string
                          description: Status
                        product:
                          type: object
                          properties:
                            id:
                              type: string
                              description: Growi id of the account
                              nullable: true
                            name:
                              type: string
                              description: Name
                              nullable: true
                            brand:
                              type: string
                              description: The shop that sells it
                              nullable: true
                            image_url:
                              type: string
                              description: Product image
                              nullable: true
                            price_minor:
                              type: integer
                              description: >-
                                Unit price, in minor units: cents for USD and
                                other 2-decimal currencies, whole units for IDR,
                                VND, JPY and KRW
                              nullable: true
                            currency:
                              type: string
                              description: >-
                                Currency of the price (null when the product is
                                not in the catalog yet)
                              nullable: true
                          description: The product
                        post_by_at:
                          type: string
                          description: When the post is due
                          nullable: true
                        days_left:
                          type: integer
                          description: Days until the post is due (negative when late)
                          nullable: true
                        applied_at:
                          type: string
                          description: When the creator asked for it
                          nullable: true
                        status_changed_at:
                          type: string
                          description: When TikTok last changed its status
                          nullable: true
                      description: Sample requests
                    description: Sample requests
        '401':
          description: >-
            Missing, invalid or revoked API key: `{"error": "Not
            Authenticated"}`
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
              examples:
                missing_key:
                  value:
                    error: Not Authenticated
                  summary: Missing, invalid or revoked key
        '403':
          description: >-
            `organization_id` names a child brand. Creators share with your main
            organization
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
              examples:
                child_brand:
                  value:
                    error:
                      code: forbidden
                      message: >-
                        Creator TikTok Shop data is read with the main
                        organization, not a child brand. Leave out
                        organization_id.
                  summary: organization_id names a child brand
        '404':
          description: A creator, account, post or product this key can't read
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
              examples:
                not_found:
                  value:
                    error:
                      code: not_found
                      message: Not found.
                  summary: Not readable with this key
        '422':
          description: >-
            Invalid params. `error.code` is `invalid_params` and `error.message`
            says which
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
              examples:
                invalid_params:
                  value:
                    error:
                      code: invalid_params
                      message: user_id must be a user id
                  summary: A param that cannot be used
        '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:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
              examples:
                interval:
                  value:
                    error: >-
                      Rate limit exceeded. Please wait 2 seconds between
                      requests.
                    retry_after: 2
                  summary: Less than 2 seconds since the last call
                hourly:
                  value:
                    error: Hourly rate limit of 1000 requests exceeded.
                    retry_after: 107
                    reset_time: '2026-11-03T23:00:00Z'
                  summary: Hourly limit reached
        '503':
          description: TikTok Shop data is unavailable right now; try again shortly
          content:
            application/json:
              examples:
                data_unavailable:
                  value:
                    error:
                      code: data_unavailable
                      message: >-
                        TikTok Shop data is unavailable right now. Try again
                        shortly.
                  summary: TikTok Shop data unavailable for a moment
              schema:
                type: object
                properties:
                  error:
                    description: >-
                      A message (authentication and rate limits) or { code,
                      message }
                    oneOf:
                      - type: string
                      - type: object
                        properties:
                          code:
                            type: string
                            description: >-
                              forbidden, not_found, invalid_params,
                              export_in_progress, data_unavailable or
                              internal_error
                          message:
                            type: string
                            description: What went wrong, in plain words
                  retry_after:
                    type: integer
                    description: 'Rate limits only: seconds to wait'
                  reset_time:
                    type: string
                    description: 'Hourly limit only: when the hour resets'
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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