Articles on: Shipper Account

Hong Kong Post Developer Guide & API Credentials

This developer guide shows how to access Hong Kong Post shipping API via AfterShip Shipping or EC-Ship API. See also the list of required API credentials / keys for HK Post integration.


Get Hong Kong Post Developer Credentials


  1. Register an EC-Ship account
  2. Email support+shipping@aftership.com your EC-Ship Username ( case sensitive)
  3. AfterShip Shipping will then request for permission of accessing the EC-Ship account. Takes 24-48 hours.
  4. An email should be sent from no_reply@ec-ship.hk to the email associated to your EC-Ship account. Click I agree to grant permission for AfterShip Shipping to access your EC-Ship account via EC-Ship API.
  5. For sandbox setup, please find the "Testing user" (测试账户) from your EC-Ship portal and link up with AfterShip Shipping.
  6. For production setup, please find the "API username" (API 账户名称) from your EC-Ship portal and link up with AfterShip Shipping.


EC-Ship has two sets of accounts: Hongkong Post ID and EC-Ship Username. Please find from your EC-ship portal to understand your account type and link up with AfterShip Shipping accordingly. If you have any questions with your EC-Ship account, email hkpo@hkpo.gov.hk for the direct support



Required Hong Kong Post API credentials


Hong Kong Post Developer Resources


Updated on: 04/12/2023