How can the api set the value of a new field when it is created?

Since we have related topics, let me link them together :slight_smile: