Skip to content

Commit 923a722

Browse files
committed
prose review 4
1 parent cade419 commit 923a722

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/campaigns/importing_campaigns.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,15 +102,15 @@ Command parameters
102102
.. important::
103103
- Ensure the ZIP file is a valid Mautic Campaign export
104104
- The specified User must have appropriate import permissions
105-
- Verify the file path is correct before running the command
105+
- Verify the path is correct before running the command
106106

107107
Importing using the Mautic API
108108
------------------------------
109109

110110
You can Import Campaigns programmatically using the Mautic API:
111111

112-
Curl Example (ZIP File)
113-
***********************
112+
Curl example with ZIP file
113+
**************************
114114

115115
.. code-block:: bash
116116
@@ -119,7 +119,7 @@ Curl Example (ZIP File)
119119
-H 'Content-Type: multipart/form-data' \
120120
-F 'file=@/path/to/campaign_export.zip'
121121
122-
Python Example (JSON Data)
122+
Python example with JSON data
123123
**************************
124124

125125
.. code-block:: python
@@ -150,23 +150,23 @@ Python Example (JSON Data)
150150
imported_campaign = response.json()
151151
print("Campaign imported successfully")
152152
153-
API Import Methods
153+
API import methods
154154
******************
155155

156-
Mautic supports two primary methods of API-based campaign import:
156+
Mautic supports two primary methods of API-based Campaign import:
157157

158158
1. **ZIP File Import**
159159
- Use ``multipart/form-data`` content type
160-
- Upload the complete campaign export ZIP file
161-
- Includes all campaign assets and dependencies from the ZIP file
160+
- Upload the complete Campaign export ZIP file
161+
- Includes all Campaign assets and dependencies from the ZIP file
162162

163163
2. **JSON Data Import**
164164
- Use ``application/json`` content type
165-
- Send campaign details directly in the request body
166-
- Useful for creating new campaigns or updating existing ones
165+
- Send Campaign details directly in the request body
166+
- Useful for creating new Campaigns or updating existing Campaigns
167167

168168
.. important::
169169
- Replace ``{your-domain}`` with your actual Mautic instance domain
170170
- Ensure you have a valid access token by accessing the API Credentials section within Mautic's settings.
171-
- The imported campaign must comply with Mautic's campaign structure
171+
- The imported Campaign must comply with Mautic's Campaign structure
172172
- Verify import permissions and data integrity

0 commit comments

Comments
 (0)