Is it possible to create custom fields in user profile using API?

I would like to have potentially to add more fields in user profile and update, get them using API. Is it possible?