File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -158,18 +158,26 @@ Priority ID and Category ID cannot be nil. These are the ID's of the priority an
158
158
helpStack = HSHelpStack.getInstance(this);
159
159
160
160
// Crate the Gear object
161
- HSZendeskGear zenDeskGear = new HSZendeskGear(
161
+ HSZendeskGear zendeskGear = new HSZendeskGear(
162
162
"<Account URL>",
163
163
"<Staff Email Address>",
164
164
"<API Token");
165
+
166
+ // [Optional] Set the Section Id of your Help Center articles
167
+ zendeskGear.setSectionId("<Section id>");
165
168
166
169
// Set the Gear
167
- helpStack.setGear(zenDeskGear );
170
+ helpStack.setGear(zendeskGear );
168
171
}
169
172
170
173
}
171
174
172
- The token can be found in your Zendesk account under Settings > Channels > API.
175
+ The token can be found in your Zendesk account under Settings > Channels > API. Setting the Section ID of your Help Center articles is optional.
176
+
177
+ * Example* :
178
+
179
+ https://example.zendesk.com/api/v2/help_center/sections.json
180
+
173
181
174
182
##### iii. Desk:
175
183
You can’t perform that action at this time.
0 commit comments