Endpoints

Explore all of hushh Fashion API's endpoints

Endpoints

Fetch all brands with hushh

Access developer brand access

Get all cards downloaded by each user

Specific card information for a user

Endpoints

/get_brands

Fetch all brands

GET https://hushhdevenv.hushh.ai/dev/v1/api/get_brands

Get all fashion brands working with Hushh.

Request Body

NameTypeDescription

nil.

nil.

nil.

Sample Response

{
    "status": 1,
    "message": "Success",
    "data": [
        {
            "_id": "b103d3fd252c0f65841499309b1f088357b7fa74",
            "brand_name": "Moet & Chandon",
            "logo": "https://firebasestorage.googleapis.com/v0/b/hushone-app.appspot.com/o/wallet_brand_banners%2FMC-BrandLogo-RGB-Gradient-Black.png?alt=media&token=387792ac-ad87-4dfe-a071-8f548fd73b1b"
        },
        {
            "_id": "b103d3fd252c0f65841499309b1f088357b7fa75",
            "brand_name": "Pucci",
            "logo": "https://firebasestorage.googleapis.com/v0/b/hushone-app.appspot.com/o/New_wallet_design%2FpucciLogo.png?alt=media&token=00fd8ea9-ca7d-4fe5-9422-0a4125b7eed3"
        }
    ]

Note: Only 2 brands are attached in the response due to size; this endpoint will return more than 120 brands

/request_brand_access

Get developer access to a brand

POST https://hushhdevenv.hushh.ai/dev/v1/api/request_brand_access

Obtain developer access to a brand to obtain sensitive brand-specific information post-brand approval.

Request Body

NameTypeDescription

email*

string

Developer's email

access_type*

string

Type of access

brand*

string

Brand ID

Sample Response

{
  "status": 1,
  "message": "Success",
  "data": "Access Requested"
}

/get_user_brand_list

Brand cards downloaded by a user

POST https://hushhdevenv.hushh.ai/dev/v1/api/get_user_brand_list

Obtain all the brand cards downloaded by a user

Request Body

NameTypeDescription

email*

string

User email

Sample Response

{
  "status": 1,
  "message": "Success",
  "data": [
      {
          "_id": "65b7999683d2533b1ecf2ebe",
          "survey_id": "b103d3fd252c0f65841499309b1f088357b7fa125",
          "brand_name": "Berluti"
      },
      {
          "_id": "65b7999683d2533b1ecf2ebs",
          "survey_id": "b103d3fd252c0f65841499309b1f088357b7fa76",
          "brand_name": "Romavi"
      }
  ]
}

/get_user_brand_card

Brand card information for a user

POST https://hushhdevenv.hushh.ai/dev/v1/api/get_user_brand_card

Obtain all brand information such as brand preferences for a user

Request Body

NameTypeDescription

email*

string

User email

brand_id*

string

Brand ID

Sample Response

{
  "status": 1,
  "message": "Success",
  "data": [
      {
          "_id": "65b7999683d2533b1ecf2ebe",
          "survey_id": "b103d3fd252c0f65841499309b1f088357b7fa125",
          "card_data": [
              {
                  "question_id": "cbdfff11af7e38a576cab78f2f1b63399f8cee202",
                  "question_text": "What type of Berluti product are you interested in?",
                  "answer_id": "e50d16af58db196e6637e4ed1ce299baaaa68b878",
                  "answer_text": "Desserts and sweets"
              },
              {
                  "question_id": "cbdfff11af7e38a576cab78f2f1b63399f8cee203",
                  "question_text": "What style do you prefer in Berluti products?",
                  "answer_id": "e50d16af58db196e6637e4ed1ce299baaaa68b880",
                  "answer_text": "Special condition"
              },
              {
                  "question_id": "cbdfff11af7e38a576cab78f2f1b63399f8cee204",
                  "question_text": "What is your preferred color or material for Berluti products?",
                  "answer_id": "e50d16af58db196e6637e4ed1ce299baaaa68b885",
                  "answer_text": "Chardonnay"
              },
              {
                  "question_id": "cbdfff11af7e38a576cab78f2f1b63399f8cee205",
                  "question_text": "Are you interested in Berluti's bespoke or made-to-measure services?",
                  "answer_id": "e50d16af58db196e6637e4ed1ce299baaaa68b889",
                  "answer_text": "Fruity and vibrant"
              }
          ]
      }
  ]
}

Note: We are currently working on expanding our Fashion API functionality

Last updated