I would like to know if there are any OpenAPI or Swagger definitions available for Marketing Cloud API either REST or SOAP.
Thanks
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityI would like to know if there are any OpenAPI or Swagger definitions available for Marketing Cloud API either REST or SOAP.
Thanks
OpenAPI definition is published as the part of the official mcsdk-automation-framework
- https://github.com/salesforce-marketingcloud/mcsdk-automation-framework-core/blob/master/resources/sfmc-openapi-v2.json
It contains only public REST endpoints There are also autogenerated SDK's for different languages
For SOAP you can use WSDL which you can get from your SFMC instance https://YOUR_SUBDOMAIN.soap.marketingcloudapis.com/etframework.wsdl
See more info about WSDL in the doc article