3

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

Thanks

2
  • 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
    Commented Oct 5, 2020 at 15:14
  • @SanTosh actually Swagger is an old name of the OpenAPI before it got standardized Commented Oct 6, 2020 at 18:06

1 Answer 1

2

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .