Create custom codes for API

Can I create custom codes to implement unreal’s API? Which is teh way for do this?