API Documentation
  • Introduction
  • API Reference
  • 🔐Authentication
  • Core APIs
    • Perfect Redesign
    • Beautiful Redesign
    • Creative Redesign
    • Sketch to Render
    • Virtual staging
    • Precision
    • Fill Spaces
    • Decor Staging
    • Furniture Removal
    • Colors & Textures
    • Furniture Finder
    • Full HD
    • Text to design
    • Furniture Creator
    • Design Advisor
    • Sky Colors
    • Design Transfer
    • Floor Editor
    • Paint Visualizer
    • Material Swap
    • Room Composer
    • Design Critique
    • Create Mask Image
    • Download Generated Images
    • Smart Home AI
  • DESIGN SCOPE
    • Interiors
      • Design Styles for Interiors
      • Room Types
      • Colors in Interior Design
      • Explore Material Options for Interior Designs
    • Exteriors
      • Design Styles for Exteriors
      • Copy of Design Styles for Exteriors
      • House angles
      • Exterior Colors
      • Material Options for Exterior Designs
    • Gardens
      • Design Styles for Gardens
      • Garden Types
      • Explore Color Options for Garden Designs
      • Material Options for Garden Designs
  • Data
    • User Details
    • Design Scope
  • Others
    • What is Masked Image?
Powered by GitBook
On this page
  • ENDPOINT
  • Request
  • Response

Was this helpful?

  1. Data

User Details

This API retrieves user information based on the provided API access token. It returns user details along with active subscription data.

ENDPOINT

GET /user_info

An API URL would be like https://homedesigns.ai/api/v2/user_info

Request

You have to pass a token, and using the endpoint "/user_info" you can fetch the data of customer details and subscription details.

Key

Value

Required

Authorization

Bearer {token}

Yes

Response

Success Response (200)

{
    "success": true,
    "Data": [
        {
            "customer": {
                "name": "John Doe",
                "Email": "johndoe@example.com"
            }
        },
        {
            "Subscription": {
                "Plan Name": "Premium Plan",
                "Total Credit": 1000,
                "Used Credit": 500,
                "Left Credit": 500,
            }
        }
    ]
}
PreviousMaterial Options for Garden DesignsNextDesign Scope

Last updated 2 months ago

Was this helpful?