{"id":29083,"date":"2018-02-01T12:26:21","date_gmt":"2018-02-01T06:56:21","guid":{"rendered":"http:\/\/convertpro.net\/?post_type=docs&#038;p=23903"},"modified":"2018-10-11T15:48:08","modified_gmt":"2018-10-11T10:48:08","slug":"get-mautic-api-credentials","status":"publish","type":"docs","link":"https:\/\/convertpro.net\/docs\/get-mautic-api-credentials\/","title":{"rendered":"How to get Mautic API Credentials?"},"content":{"rendered":"<p>To use Mautic API calls, your application has to be authorized in Mautic instance you want to connect with. Mautic supports OAuth1 and OAuth2. Here we are focusing on OAuth2.<\/p>\n<p>To create API credentials, go to your Mautic administration and follow these steps:<\/p>\n<p><strong>Step 1 -&gt;<\/strong> Go to Mautic Configuration \/ API settings and set &#8216;API enabled&#8217; to &#8216;Yes&#8217;. Save changes. <a href=\"http:\/\/convertpro.net\/wp-content\/uploads\/2018\/02\/mautic-enable-api.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-3711\" src=\"http:\/\/convertpro.net\/wp-content\/uploads\/2018\/02\/mautic-enable-api.png\" alt=\"mautic-enable-api\" width=\"900\" height=\"544\" title=\"How to get Mautic API Credentials?\"><\/a><\/p>\n<p><strong>Step 2 -&gt;<\/strong> At the right side menu, the menu item &#8216;API credentials &#8216; should appear. click on it.<a href=\"http:\/\/convertpro.net\/wp-content\/uploads\/2018\/02\/mautic-api-credentials.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-3712\" src=\"http:\/\/convertpro.net\/wp-content\/uploads\/2018\/02\/mautic-api-credentials.png\" alt=\"mautic-api-credentials\" width=\"900\" height=\"393\" title=\"How to get Mautic API Credentials?\"><\/a><\/p>\n<p><strong>Step 3 -&gt;<\/strong> Create a new set of credentials.<\/p>\n<p>Fill in the \u2018Name\u2019 (name of your app or something you recognize)<\/p>\n<p>Redirect URI &#8211; Specify the URI that should be allowed API access ( For example, you need Mautic credentials to use it on testsite.com, then the Redirect URI will be testsite.com ). You can add a single or multiple websites separated with a comma.<\/p>\n<p>For Convert Pro, you will need to add two URLs for a website:<\/p>\n<p><strong>http:\/\/testsite.com\/wp-admin\/admin.php?page=convertpro-mautic<\/strong><\/p>\n<p><strong>http:\/\/testsite.com\/wp-admin\/<\/strong><\/p>\n<p>Make sure you select &#8220;OAuth2&#8221; as &#8216;Authorization Protocol&#8217;. Save new credentials<a href=\"http:\/\/convertpro.net\/wp-content\/uploads\/2018\/02\/mautic-credentials.png\"><img decoding=\"async\" class=\"alignnone size-full wp-image-3714\" src=\"http:\/\/convertpro.net\/wp-content\/uploads\/2018\/02\/mautic-credentials.png\" alt=\"mautic-credentials\" width=\"900\" height=\"458\" title=\"How to get Mautic API Credentials?\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong>Mautic will generate &#8216;Public Key&#8217; and &#8216;Secret Key&#8217;.<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To use Mautic API calls, your application has to be authorized in Mautic instance you want to connect with. Mautic supports OAuth1 and OAuth2. Here we are focusing on OAuth2. To create API credentials, go to your Mautic administration and follow these steps: Step 1 -&gt; Go to Mautic Configuration \/ API settings and set [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"template":"","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_pfd_related_docs_manual":[],"pfd_doc_title":"","spectra_gs_classes":"","footnotes":""},"docs_category":[19],"docs_tag":[351,47,48,349,347],"class_list":["post-29083","docs","type-docs","status-publish","hentry","docs_category-integrations","docs_tag-authenticate-mautic","docs_tag-convert-pro-tags-in-tag-manager","docs_tag-google-tag-manager","docs_tag-mautic-api-authentication","docs_tag-mautic-authentication"],"spectra_custom_meta":{"_yoast_wpseo_primary_docs_category":[""],"site-sidebar-layout":["default"],"site-content-layout":["default"],"stick-header-meta":["default"],"theme-transparent-header-meta":["default"],"_yoast_wpseo_content_score":["30"],"_uabb_converted":["yes"],"swp_cache_timestamp":["426069"],"_wxr_import_user_slug":["vikasp"],"_wxr_import_has_attachment_refs":["1"],"_wxr_import_term":["a:3:{s:8:\"taxonomy\";s:8:\"docs_tag\";s:4:\"slug\";s:19:\"authenticate-mautic\";s:4:\"name\";s:19:\"authenticate mautic\";}","a:3:{s:8:\"taxonomy\";s:13:\"docs_category\";s:4:\"slug\";s:12:\"integrations\";s:4:\"name\";s:12:\"Integrations\";}","a:3:{s:8:\"taxonomy\";s:8:\"docs_tag\";s:4:\"slug\";s:25:\"mautic-api-authentication\";s:4:\"name\";s:25:\"mautic api authentication\";}","a:3:{s:8:\"taxonomy\";s:8:\"docs_tag\";s:4:\"slug\";s:21:\"mautic-authentication\";s:4:\"name\";s:21:\"mautic authentication\";}"],"_edit_lock":["1539254758:21"],"_edit_last":["21"],"mashsb_timestamp":[""],"views":["4668"],"_uag_page_assets":["a:9:{s:3:\"css\";s:0:\"\";s:2:\"js\";s:0:\"\";s:18:\"current_block_list\";a:0:{}s:8:\"uag_flag\";b:0;s:11:\"uag_version\";s:10:\"1777377157\";s:6:\"gfonts\";a:0:{}s:10:\"gfonts_url\";s:0:\"\";s:12:\"gfonts_files\";a:0:{}s:14:\"uag_faq_layout\";b:0;}"],"rank_math_primary_docs_category":[""],"rank_math_news_sitemap_robots":["index"],"rank_math_robots":["a:1:{i:0;s:5:\"index\";}"],"rank_math_analytic_object_id":["179"],"helpful":["1"],"redirects":["2"],"rank_math_internal_links_processed":["1"],"rank_math_og_content_image":["a:2:{s:5:\"check\";s:32:\"41cae122aaa13237a27844e92506a97c\";s:6:\"images\";a:1:{i:0;i:23904;}}"],"_uag_migration_processed":["1"],"surerank_settings_general":["a:8:{s:9:\"separator\";s:1:\"-\";s:10:\"page_title\";s:28:\"%title% %page% - %site_name%\";s:25:\"auto_generate_description\";b:1;s:16:\"page_description\";s:9:\"%excerpt%\";s:16:\"auto_description\";s:154:\"To use Mautic API calls, your application has to be authorized in Mautic instance you want to connect with. Mautic supports OAuth1 and OAuth2. Here we are\";s:14:\"fallback_image\";s:0:\"\";s:13:\"canonical_url\";s:55:\"https:\/\/convertpro.net\/docs\/get-mautic-api-credentials\/\";s:13:\"focus_keyword\";s:0:\"\";}"],"surerank_settings_post_no_index":["no"],"surerank_settings_post_no_follow":["no"],"surerank_settings_post_no_archive":["no"],"surerank_settings_social":["a:23:{s:15:\"open_graph_tags\";b:1;s:18:\"facebook_meta_tags\";b:1;s:17:\"twitter_meta_tags\";b:1;s:16:\"oembeded_scripts\";b:1;s:17:\"oembeded_og_title\";b:1;s:22:\"oembeded_social_images\";b:1;s:27:\"oembeded_remove_author_name\";b:1;s:17:\"facebook_page_url\";s:0:\"\";s:24:\"facebook_author_fallback\";s:0:\"\";s:17:\"twitter_card_type\";s:19:\"summary_large_image\";s:24:\"twitter_same_as_facebook\";b:1;s:24:\"twitter_profile_username\";s:0:\"\";s:24:\"twitter_profile_fallback\";s:0:\"\";s:14:\"facebook_title\";s:0:\"\";s:20:\"facebook_description\";s:0:\"\";s:18:\"facebook_image_url\";s:0:\"\";s:17:\"facebook_image_id\";i:0;s:20:\"facebook_image_width\";i:0;s:21:\"facebook_image_height\";i:0;s:13:\"twitter_title\";s:0:\"\";s:19:\"twitter_description\";s:0:\"\";s:17:\"twitter_image_url\";s:0:\"\";s:16:\"twitter_image_id\";i:0;}"],"surerank_migration":["1"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Swapnil","author_link":"https:\/\/convertpro.net\/author\/swapnild\/"},"uagb_comment_info":0,"uagb_excerpt":"To use Mautic API calls, your application has to be authorized in Mautic instance you want to connect with. Mautic supports OAuth1 and OAuth2. Here we are focusing on OAuth2. To create API credentials, go to your Mautic administration and follow these steps: Step 1 -&gt; Go to Mautic Configuration \/ API settings and set&hellip;","_links":{"self":[{"href":"https:\/\/convertpro.net\/wp-json\/wp\/v2\/docs\/29083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/convertpro.net\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/convertpro.net\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/convertpro.net\/wp-json\/wp\/v2\/users\/6"}],"version-history":[{"count":1,"href":"https:\/\/convertpro.net\/wp-json\/wp\/v2\/docs\/29083\/revisions"}],"predecessor-version":[{"id":30860,"href":"https:\/\/convertpro.net\/wp-json\/wp\/v2\/docs\/29083\/revisions\/30860"}],"wp:attachment":[{"href":"https:\/\/convertpro.net\/wp-json\/wp\/v2\/media?parent=29083"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/convertpro.net\/wp-json\/wp\/v2\/docs_category?post=29083"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/convertpro.net\/wp-json\/wp\/v2\/docs_tag?post=29083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}