API endpoint for creating Email Subscription Type?

Hello,

In this page, we can create different subscription types by clicking the Create Subscription Type button:

Scenario:

I have a potentially huge list of subscription types that changes over time stored in my mysql database, and i want to automate the creation of subscription types in hubspot.

Question:

Is there an API endpoint that I could use to automatically CREATE, UPDATE and DELETE these subscription types in Hubspot?

I’ve checked the https://legacydocs.hubspot.com/docs/methods/email/email_subscriptions_overview but the endpoint seems only offer to read subscription type definitions (GET /email/public/v1/subscriptions). but not perform create,update and delete operations on them?

thank you in advance :slightly_smiling_face:

Hey, @DBiler Great question! In this case, you are not missing anything. Both the legacy and v3 versions of the subscription endpoints do not allow for creating new subscription types.
If you have a moment, adding your suggestion to the Idea forum will be valuable. It is monitored, and the community is the source of many of our improvements https://community.hubspot.com/t5/Ideas/ct-p/ideas
Legacy https://legacydocs.hubspot.com/docs/methods/email/email_subscriptions_overview
v3 Accounts Dashboard | HubSpot

Hello Hubspot Team,
Has the API’s been updated, and is there an option to create subscription types through API?
If yes, can you help with the API guide