With this custom API you can get custom fields for client, products or support. We still don’t understand why WHMCS doesn’t have this API natively. This can be used just as any other WHMCS API, so you can refer to their documentation (or ours) to use it.
For instructions, installation info and to buy please check our page WHMCS
API GetCustomFields