How add fields in API

If you search the forum you find this topic: