I would like to know if there are any OpenAPI or Swagger definitions available for Marketing Cloud API either REST or SOAP.


  • OpenAPI is specification framework and swagger is a design tool for OpenAPI sepcification...and specification includes things that vary for each org(endpoint, attributes etc.)...so you should not expect API contract with generic requirements
    – ipradhansk
    Oct 5, 2020 at 15:14
  • @SanTosh actually Swagger is an old name of the OpenAPI before it got standardized Oct 6, 2020 at 18:06

1 Answer 1


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.