Hasta Backend
  1. blogs
  • lookup
    • Get localised seed data
      GET
    • Get core seed data
      GET
    • Get zodiac signs
      GET
    • Get subscription and pricing plans
      GET
    • Get FAQs
      GET
    • Get notification intervals
      GET
  • audit
    • Get audit logs
      GET
  • auth
    • Register device
      POST
    • Send OTP
      POST
    • Verify OTP and login
      POST
    • Resend OTP
      POST
    • Refresh access token
      POST
    • Logout
      POST
    • Google OAuth login
      POST
  • admin
    • Register admin account
      POST
    • Admin login
      POST
    • Admin logout
      POST
    • Refresh admin access token
      POST
    • Get admin profile
      GET
    • Update admin password
      PUT
    • Edit language
      PUT
    • Add language
      POST
    • Delete language
      DELETE
    • Delete user event logs
      DELETE
    • Clear lookup cache
      DELETE
    • Clear cache
      DELETE
  • blogs
    • Admin - get all blogs
      GET
    • Admin - delete a blog
      DELETE
    • Get all blogs
      GET
    • Get blog categories
      GET
    • Update blog status
      PUT
    • Admin - send blog notification
      POST
    • Get blog details
      GET
    • Subscribe to blog notifications
      POST
    • Unsubscribe from blog notifications
      POST
  • feedback
    • Submit a user feedback
    • Get all queries
    • Update user query status
    • Get all reviews
    • Update review status
    • Get all featured reviews
  • events
    • Track a user event
    • Fetch all tracked events
  • notifications
    • Send broadcast notification
    • Send custom notification to a user
    • Fetch user notifications
    • Get unread notification count
    • Mark notification as read
  • reminders
    • Fetch user reminders
    • Create a reminder
    • Update a reminder
    • Delete a reminder
  • user
    • Create / complete user profile
    • Get my profile
    • Update profile image
    • Update language preference
    • Update push notification preference
    • Get my family members
    • Add a family member
    • Delete a family member
    • Update family member profile image
    • Admin - list users
    • Admin - get user details with family
    • Admin - delete user and all family members
    • Create / complete user profile
    • Admin - update user status
  • palm
    • Get user palm reading
    • Upload user palm image
    • Upload family member palm image
    • Get family member palm reading
  • horoscopes
    • Get user kundali
    • Get family member kundali
    • Get horoscope (daily / weekly / monthly)
  • reports
    • Share a report via email
    • Get shared report PDF link
  • tarot
    • List all tarot cards
    • Get single tarot card by slug
    • Get today's daily tarot card
    • Get a 3-card tarot reading
    • Get tarot reading history
  • marriage
    • Generate marriage compatibility report
    • Get marriage compatibility report
  • child
    • Generate baby names or child timing
    • Like or unlike a suggested baby name
    • Get child naming or timing result
  • dashboard
    • Dashboard overview stats
    • User growth time-series
    • Subscription distribution by plan
    • Top-up & one-time sales distribution
    • Recent activity feed
  • Health
    • Liveness check
  1. blogs

Admin - get all blogs

GET
/api/v1/blogs/panel
blogs
Last modified:2026-06-04 22:55:16
Request: No body - filters passed as query parameters
Returns paginated blogs for admin panel. Use page_number (default: 1) to paginate. Filter by category, search, or status. Admin role required.
Success: 200 - data.blogs[] (each: name, slug, image, description, is_active, is_featured, is_notify, reading_time, category_name, created_at) plus data.total, data.offset, data.limit.
Errors: 401 - missing/invalid token | 403 - not an admin

Request

Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location '/api/v1/blogs/panel?page_number=undefined&category_name=undefined&search=undefined&status=undefined'

Responses

🟢200OK
application/json
Successful Response
Bodyapplication/json

Example
{
    "success": true,
    "message": "Blogs fetched successfully",
    "data": {
        "blogs": [
            {
                "name": "The Power of Vedic Astrology",
                "slug": "the-power-of-vedic-astrology",
                "image": "https://images.hastaai.in/blogs/\n                                        vedic-astrology.jpg",
                "description": "Discover how Vedic astrology shapes your \n                                        destiny and reveals the cosmic blueprint behind \n                                        every life event.",
                "is_active": true,
                "is_featured": false,
                "is_notify": true,
                "reading_time": "5 min",
                "category_name": "Astrology",
                "created_at": "2026-05-13T10:30:00Z"
            }
        ],
        "total": 131,
        "offset": 0,
        "limit": 10
    }
}
🟠401Unauthorized
🟠403Forbidden
🟠422Parameter Error
Modified at 2026-06-04 22:55:16
Previous
Clear cache
Next
Admin - delete a blog
Built with