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,
                "Extra APIs": 10
            }
        }
    ]
}

Last updated

Was this helpful?