Supplier inquiry V2

HIOAsk V2 is a conversation-based human support service. Your customer asks about a product; support staff coordinate with the supplier and return a customer-facing reply. Replies are asynchronous and depend on staff and supplier availability. V2 returns chat messages, not the retired typed question/answer dataset.

Try the real Inquiry Demo  and read its MIT-licensed source . The hosted demo uses its own server-configured Key and one fixed product. For your integration, configure your own production Key, product/channel and HTTPS Webhook. Demo/test conversations must set context.source=inquiry_demo; ordinary integrations omit it.

HIOAsk Supplier Inquiry is designed primarily for business sourcing, wholesale purchasing, and supplier-related inquiries.

It is best suited for questions about minimum order quantities (MOQ), bulk pricing, customization, materials, production lead times, and other supplier-specific information.

Important limitations:

  • Product weight and packaging dimensions may not be available from suppliers.
  • Estimated weight and dimensions for multiple items or consolidated shipments cannot be guaranteed before physical inspection and packing.
  • Supplier responses depend on the information available to the seller.
  • HIOAsk facilitates communication but does not guarantee that every inquiry will produce the requested information.

To keep the service efficient and affordable, access is currently limited to approved developers with genuine sourcing or purchasing needs.

For basic product information, please use the existing HIOBuy Product APIs whenever possible.

Access & authentication

Use https://api.hiobuy.com from your backend with Authorization: Bearer YOUR_HIOBUY_PRODUCTION_KEY. HIOBuy administration enables supplier inquiry for the App and provisions the V2 binding. Real chat requires a production Key and supplier_inquiry:read / supplier_inquiry:write. Identity inspection accepts any valid Key; a test Key reports environment=sandbox and cannot start real chat. This capability does not require warehouse fulfillment.

HIOBuy derives the App from your Key. Do not send X-External-App-Id, choose an App on behalf of the client, or connect directly to HIOAsk. Never expose API Keys or Webhook secrets in browser storage, frontend code, URLs or logs. Your backend must additionally enforce which signed-in customer owns each conversation: App isolation alone is not end-user authorization.

Integration flow

Load a real product with the Product API → Contact Supplier → create or recover the product conversation → send a customer message → support staff claim and reply → HIOBuy forwards a signed Webhook → display the reply → close → request an optional rating. Creation alone does not send a message or confirm that a supplier has answered.

Create conversations & send messages · Webhooks & delivery · History, closure & ratings

For structured sourcing requirements and quotations, see the RFQ API.

API reference

APIScope
GET /v1/ask/identity—
POST /v1/ask/conversationssupplier_inquiry:write
GET /v1/ask/conversationssupplier_inquiry:read
GET /v1/ask/conversations/{id}supplier_inquiry:read
POST /v1/ask/conversations/{id}/messagessupplier_inquiry:write
GET /v1/ask/conversations/{id}/messagessupplier_inquiry:read
POST /v1/ask/conversations/{id}/attachmentssupplier_inquiry:write
GET /v1/ask/attachments/{id}/contentsupplier_inquiry:read
POST /v1/ask/conversations/{id}/closesupplier_inquiry:write
GET /v1/ask/conversations/{id}/ratingsupplier_inquiry:read
POST /v1/ask/conversations/{id}/ratingsupplier_inquiry:write

OpenAPI 3.0.3  · Product API

Production media

Static PNG, JPEG and WebP images are supported when image permission is enabled for the integration. Videos, SVG, GIF and arbitrary remote attachment URLs are not supported for new uploads. Each image must be at most 10 MiB, with width and height each at most 2400 pixels; up to four attachments per message. Resize proportionally before uploading when necessary: the public API does not resize files automatically. Uploads also enforce the existing client daily media quota (100 MiB).

Upload raw bytes from your backend, then bind the returned attachment IDs when sending a message. Files remain private in R2; read content_path through your authorized backend, never through a public bucket URL. Uploading alone does not send a message. See image upload examples.

V1 migration

/v1/supplier-inquiries and its detail/message routes return HTTP 410 HIOASK_V1_RETIRED. The former questions, typed answers and supplier_inquiry.* events are retired. Use /v1/ask/* and the ask.* events documented here, including ask.message.recalled for recall-ready integrations. Historical V1 data is retained without automatic conversion.

Message references for enabled integrations

Message references are available only for integrations explicitly enabled by HIOBuy after all receivers have been adapted. Recall enablement and webhook_configured do not imply reference support.

A published staff reply may contain optional reply_to_message_id, a UUID identifying a customer message or published staff reply in the same conversation. Ordinary and recalled replies omit it. Customer message creation does not accept this field in this version; there is no new public endpoint or Webhook event. The reference is separate from reply content: translation handles only the new reply, without quoting or translating the source again.

Resolve the ID through your authorized message history and derive the display from the original customer text or actual delivered staff text. Images can use an image placeholder and the original authorized message; never create a public R2 URL or duplicate the upload. If the original is outside the loaded history, load older pages with bounded requests or show an explicit earlier-message action, without inventing text. Never use private notes or staff originals to populate a public quote.

Get Support

Need integration help? Contact Developer Support at support@hiobuy.com · Response within 1–2 business days

Email support