Marketo API - How to create custom fields?
Hello marketo community!
Using the interface, one can create new custom fields. More specifically via --> Admin --> Lead Management --> Create new custom field -> and filling out the required information on the pop-up and hitting save.
Now, let's say that you have a list of 40 custom fields that you need to create, and that you have to do this every once in a while.
How can one automate this process via the Marketo API? Is it even possible to create custom fields via the API?
I checked the docs and could only find information on how to update a custom field (https://developers.marketo.com/blog/create-a-custom-field-in-marketo-and-update-this-field-via-api/).
But I cannot find any info in the docs, or in the Marketo community on how to create custom fields via the API.
Any help would be much appreciated!
Best, Ernie