How do you loop through clients to upload a template

Using PHP . . .

I know how to get all clients. I know how to upload a template to a specific client using the API. But could someone give me the proper code to upload a specific template to all client accounts via the API. I presume it's some kind of looping through the $result but I don't know exactly how to do it.


Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free