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

# Get collections/playlists created by a user

> Returns all public collections (playlists) created by the user. Each collection includes a cover image and post count. No pagination — all collections are returned in one response.

Returns all public collections (playlists) created by the user. Each collection includes a cover image and post count. No pagination — all collections are returned in one response.


## OpenAPI

````yaml GET /api/v1/users/{username}/playlist
openapi: 3.0.3
info:
  title: TikTok Intel API
  version: 2025-01
  description: >-
    Real-time TikTok data API — creator intelligence, user profiles, posts,
    sounds,

    search, live streams, effects, places, collections, and challenges.


    ### Response Envelope


    Every response follows the same structure:


    ```json

    {
      "meta": {
        "request_id": "550e8400-e29b-41d4-a716-446655440000",
        "timestamp": "2025-04-29T12:00:00.000Z",
        "cached": false,
        "version": "2025-01"
      },
      "data": { ... },
      "pagination": null,
      "error": null
    }

    ```


    Paginated list endpoints include a `pagination` object with `cursor` and
    `has_more`.

    On error, `data` is `null` and `error` carries `code` and `message`.


    ### Field Names


    All public fields use `snake_case`. Internal TikTok identifiers (`secUid`,
    `bitrateInfo`, etc.) are never exposed.


    ### Caching


    `meta.cached: true` means the response was served from cache. TTLs vary by
    category (2 min for live data, 30 min for profiles).
  contact:
    name: API Support
    url: https://rapidapi.com
servers:
  - url: https://full-tiktok-api.p.rapidapi.com
    description: Production
security: []
tags:
  - name: Users
    description: TikTok user profiles, posts, followers, and playlists
  - name: Posts
    description: TikTok video post metadata and comments
  - name: Sounds
    description: TikTok sounds, music tracks, and commercial library
  - name: Search
    description: Keyword search across videos, users, live rooms, and suggestions
  - name: Live
    description: TikTok live stream rooms, categories, and streaming status
  - name: Effects
    description: TikTok AR effects and associated videos
  - name: Places
    description: TikTok location tags and geotagged posts
  - name: Collections
    description: TikTok user-created collections and playlists
  - name: Challenges
    description: TikTok hashtag challenges and associated posts
  - name: Intelligence
    description: Computed creator analytics, scores, and partnership intelligence
paths:
  /api/v1/users/{username}/playlist:
    get:
      tags:
        - Users
      summary: Get collections/playlists created by a user
      description: >-
        Returns all public collections (playlists) created by the user. Each
        collection includes a cover image and post count. No pagination — all
        collections are returned in one response.
      operationId: users_playlist
      parameters:
        - name: username
          in: path
          required: true
          description: TikTok username
          schema:
            type: string
          example: charlidamelio
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta'
                  data:
                    $ref: '#/components/schemas/UserPlaylist'
                  pagination:
                    $ref: '#/components/schemas/NullPagination'
                  error:
                    $ref: '#/components/schemas/ErrorObject'
        '401':
          description: '**UNAUTHORIZED**: Missing or invalid x-rapidapi-key header'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
      security:
        - RapidApiKey: []
components:
  schemas:
    Meta:
      type: object
      description: Response metadata present in every API response
      properties:
        request_id:
          type: string
          format: uuid
          description: Unique ID for this request
          example: 3c90c3cc-0d44-4b50-8888-8dd25736052a
        timestamp:
          type: string
          format: date-time
          description: ISO 8601 server time when the response was generated
          example: '2025-03-12T14:32:01.498Z'
        cached:
          type: boolean
          description: true if the response was served from cache
          example: false
        version:
          type: string
          example: 2025-01
          description: API version string
    UserPlaylist:
      description: A user's playlist/collection list
      type: object
      properties:
        playlists:
          type: array
          description: Array of collections created by the user
          example:
            - collection_id: '7596415294902389534'
              name: Beast Games
              posts_count: 12
              cover_url: null
          items:
            $ref: '#/components/schemas/Collection'
    NullPagination:
      type: object
      nullable: true
      example: null
      description: >-
        Always null; this endpoint returns a single object and does not
        paginate.
    ErrorObject:
      type: object
      nullable: true
      description: Error details. Present only when the request failed; null on success.
      properties:
        code:
          type: string
          description: Machine-readable error code in SCREAMING_SNAKE_CASE
          example: NOT_FOUND
        message:
          type: string
          description: Human-readable error description
          example: The requested resource was not found.
        details:
          description: Additional context, if available
          nullable: true
          example: null
    ErrorEnvelope:
      type: object
      description: Standard error response envelope returned for all 4xx and 5xx responses.
      properties:
        meta:
          $ref: '#/components/schemas/Meta'
        data:
          type: object
          nullable: true
          example: null
          description: Always null on error.
        pagination:
          type: object
          nullable: true
          example: null
          description: Always null on error.
        error:
          $ref: '#/components/schemas/ErrorObject'
    Collection:
      description: A TikTok user collection (playlist)
      type: object
      properties:
        collection_id:
          type: string
          nullable: true
          format: int64
          description: Numeric TikTok collection ID
          example: '7442134949027351314'
        name:
          type: string
          nullable: true
          description: Collection display name
          example: My favorites
        posts_count:
          type: integer
          description: Number of videos in the collection
          example: 49
        cover_url:
          type: string
          nullable: true
          format: uri
          description: Collection cover image URL
          example: https://p16-sign.tiktokcdn-us.com/...
  securitySchemes:
    RapidApiKey:
      type: apiKey
      in: header
      name: x-rapidapi-key
      description: >-
        Your RapidAPI subscription key. Injected automatically by the RapidAPI
        gateway in production.

````