1. Categories
Returning.AI
  • Getting Started
  • Bulk Operations
    • List bulk update jobs
      GET
    • Get bulk update job status
      GET
    • Get bulk update job details
      GET
    • Bulk update users from CSV
      POST
    • Bulk update premium currency from CSV
      POST
  • Chart Analysis
    • Create Analysis
      POST
    • Get Analysis
      GET
    • Update Analysis
      PATCH
    • Delete Analysis
      DELETE
    • List Analyses
      GET
    • Append Drawings
      POST
  • Rewards & Redemptions
    • Update redemption order status
      PUT
    • List redemption orders by user email
      POST
    • List redemption statuses
      POST
    • Get redemption status by ID
      POST
    • List redemption orders by community
      POST
    • Create redemption order status
      POST
    • Get redemption order status history
      POST
  • Gamification
    • Leaderboards
      • List leaderboards with pagination
      • Create a new leaderboard
      • Update an existing leaderboard
      • Get a single leaderboard by ID
      • Delete a leaderboard
    • Streaks & Mini Games
      • List user streak logs
      • Update user spin-wheel information
    • Referral
      • Get referral programs
      • Get user's referral summary
    • Rolling Data
      • Get Daily Calculation Data
      • Get Rolling Calculation Data
    • Get tiers and XP settings
    • Get daily user gamification history
    • List user gamification logs
    • Get user activity stats
  • Messaging
    • Message Actions
      • Direct Channel
        • private DM channel
          • Reply Message
          • Send Message
          • React Message
        • public channel
          • Reply Message
          • Send Message
          • React Message
      • Forum Channel
        • Send Message
        • Reply Message
        • React Message
      • Text Channel
        • Reply Message
        • Send Message
        • React Message
      • Iframe Channel
        • Reply Message
        • Send Message
        • React Message
    • Get Messages
    • Send Message
    • Reply Message
    • React Message
    • Upload message images
  • Users
    • Get user
    • Get Users with Filters
    • Create New User
    • Get User Data
    • Manage User Account
    • List mini-game logs by user email
    • Get user's current Mini Games and Streak stats
    • Get User Milestones
    • Update User Data, Identifier, And Roles
  • Authentication
    • Register user with password
    • Verify user email
    • Log in user with password
    • Secure Auth
  • Channels
    • Iframe
    • List integration channels
  • Events
    • Outgoing webhooks
      • Encryption
      • User Joins Server
      • User Visits server
      • New Message Posted Anywhere
      • New Message Posted To channel
      • Purchased Store Item
    • Incoming webhooks
      • API Keys & Encryption
      • Send message into channels
      • Update Custom User Fields
      • Update In-game currency
  • Widgets
    • Authenticated Widgets
    • Public widgets
  • Store
    • Purchase History
      • Update purchase history redemption instructions or voucher details
    • Categories
      • List store categories
        GET
      • Create store category
        POST
      • Get store category by ID
        GET
      • Update store category
        PUT
      • Delete store category
        DELETE
    • Products
      • List products
      • Create products in bulk
      • Create product with vouchers
      • Update products in bulk
      • Read product
      • Update product and append vouchers
      • Delete product
    • Redemption-transaction
      • Get Redemption Transaction Detail
    • Get store configuration
      GET
    • Update store configuration
      PUT
  • Community Analytics
    • Get Loyalty Overview
    • Get Phone Verification Contacts
  • Community
    • Appearance
      • Update community theme colors
      • Update community bot profile
      • Update community URL metadata
      • Update community name and URL
    • Community Users
      • Get community users
      • Get user
    • Create community
  • API Keys
    • Community API Keys
      • Create API key
      • Read API keys
      • Delete API key
      • Update API key
    • User API Keys
      • List user API keys
      • Create user API key
      • Update user API key
      • Delete user API key
      • Get current API key information
  • User Fields
    • User Field History
      • List Community User-Field History
      • List One Field Across Users
      • List One User Across Fields
      • List One User's One Field
      • Update A User Field Value
      • Deprecated Field-First History Write
      • Deprecated Field-First History Read
    • Create A User Field Definition
    • Get Specific User Field
    • Update Custom User Field
    • Delete Custom User Field
    • Get all user fields for a community
    • Delete user field
    • Update user field
    • Get specific user field
  • Legacy
    • Servers
      • Create server
      • List servers
      • Update server metadata
    • Bulk Operations
      • Bulk import users from CSV
    • Badges
      • List badges
      • Create badge
      • Update badge
      • Delete badge
      • Remove badge from user
      • Award badge to user
    • Messaging
      • Reply to message
      • Send message
      • React to message
    • Roles & Permissions
      • List server roles
      • Create role
      • Update role
      • Delete role
      • List user roles
      • Add role to user
      • Remove role from user
    • Users
      • Upload user avatar
    • Channels
      • Create channel
      • Update channel
      • Delete channel
    • API Keys
      • List integration API keys
      • Create integration API key
      • Delete integration API key
      • Update integration API key
  1. Categories

List store categories

GET
/categories
Returns a paginated list of store categories for the API-key's community, with optional sorting, field projection, search, filtering, and user visibility filtering.
Use this when a partner integration needs to render storefront navigation, category shelves, or category selectors before showing products.
Authentication:
Bearer API key in Authorization header
API key must have the store permission
Community is resolved from the API key token; do not pass communityID
Returns 401 if the key is missing, invalid, expired, or lacks access
Rate limits:
Standard API rate limits apply
Constraints:
skip defaults to 0 and must be at least 0
limit defaults to 20 and is capped at 100
fields is a comma-separated projection; projected responses include only requested public fields
Readable defaultPurchaseStatus is returned as a status name string when available; the backend-internal status ID is not exposed
Permission responses expose readable role names, tag names, usernames, and readable combination values only; backend-internal IDs are not exposed
permission.combination[].values contains resolved role or tag names, for example { "type": "role", "values": ["all", "Professional", "Master"] }; combination IDs are backend-internal and are not returned
Invalid query syntax or unsupported fields return 400
Upstream store-service failures return 502
Example - list:
// Lists active categories with readable public fields.
{ "query": "?skip=0&limit=20&sort=displayOrder:asc&fields=name,displayOrder,defaultPurchaseStatus&search=keyword:premium&filter=isArchived:false" }
Related endpoints:
GET /stores - read store configuration
POST /categories - create a store category
GET /categories/{categoryID} - read a single store category
PUT /categories/{categoryID} - update a store category
DELETE /categories/{categoryID} - delete a store category

Request

Query Params

Header Params

Responses

🟢200OK
application/json
Paginated store categories returned successfully. Permission references are public names only; backend-internal role, tag, user, combination, and default purchase status IDs are not returned.
Bodyapplication/json

🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🔴500Server Error
🔴502Bad Gateway
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://sgtr-integration.returning.ai/apis/categories?skip=undefined&limit=20&sort=displayOrder%3Aasc&fields=name%2CdisplayOrder%2CdefaultPurchaseStatusID&search=keyword%3Apremium&filter=isArchived%3Afalse&userID=650906d314a3e564c56f3403' \
--header 'Authorization: Bearer XXXXXX'
Response Response Example
200 - Success Example
{
    "meta": {
        "status": "success",
        "statusCode": 200,
        "skip": 0,
        "limit": 20,
        "total": 3
    },
    "message": "Read categories success.",
    "data": [
        {
            "_id": "67bc22b591b5284096627c6c",
            "communityID": "6502c97314a3e564c5bbfa84",
            "name": "Category 3",
            "coverImage": null,
            "shouldShowCover": false,
            "isArchived": false,
            "viewType": "full",
            "displayOrder": 0,
            "categoryPermission": [
                {
                    "type": "role",
                    "permission": {
                        "roles": [
                            "VIP Member"
                        ],
                        "tags": [
                            "Early Access"
                        ],
                        "users": [
                            "alex"
                        ],
                        "combination": [],
                        "isSelectAll": false
                    },
                    "purchaseLimit": {
                        "isEnabled": true,
                        "quantity": 1,
                        "intervalCount": 1,
                        "intervalUnit": "months"
                    },
                    "accessLevel": "full-access",
                    "isEnabled": true
                },
                {
                    "type": "role_combination",
                    "permission": {
                        "roles": [],
                        "tags": [],
                        "users": [],
                        "combination": [
                            {
                                "type": "role",
                                "values": [
                                    "all",
                                    "Professional",
                                    "Master"
                                ]
                            }
                        ],
                        "isSelectAll": false
                    },
                    "purchaseLimit": {
                        "isEnabled": false,
                        "quantity": 1,
                        "intervalCount": 1,
                        "intervalUnit": "months"
                    },
                    "accessLevel": "view-only",
                    "isEnabled": true
                }
            ],
            "defaultPurchaseStatus": "Pending",
            "i18n": {
                "isTranslationEnabled": true,
                "nameTranslations": [
                    {
                        "locale": "de",
                        "label": "de",
                        "content": "Kategorie 3",
                        "isAiGenerated": true,
                        "translationConfigHash": "f6fac99b4c760b307dd010711bb714a4be44a75e32f39bddc4197d99331c2222"
                    }
                ]
            },
            "createdAt": "2025-02-24T07:41:41.053Z",
            "updatedAt": "2026-05-25T05:15:38.547Z"
        }
    ]
}
Modified at 2026-06-11 10:14:56
Previous
Update purchase history redemption instructions or voucher details
Next
Create store category
Built with