Create a object of type API / custom state

Hello Bubbler’s
I want to know how to create a object of API type / custom state type.
I’m storing API data in custom state (which is list of objects). I want to append new object to that list,and for that i have to create a object of that type.
Can we do this in bubble?

Can you help with this?