Retrieve your catalog ID
GET
/fetchcatalogIdReturns the ID of the product catalog connected to your WhatsApp number. Send the number in the wanumber header.
Authorization
apiKey apikey<token>
Your HostMentor API key, from the dashboard under Messaging → WhatsApp → API keys.
In: header
Header Parameters
wanumber*string
Your WhatsApp number with country code, such as 919876500000.
Response Body
application/json
application/json
application/json
curl -X GET "https://wa.hostmentor.com/v3/fetchcatalogId" \ -H "apikey: YOUR_API_KEY" \ -H "wanumber: 919876500000"{ "code": 200, "status": "SUCCESS", "message": "Catalog data fetch successfully", "data": { "catlogid": "801262455316921" }}