Skip to content

Commit a830864

Browse files
author
Anirudh S
committed
Instruction for showing Help Center articles that belong to a Section in Zendesk
1 parent 9478fe5 commit a830864

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,18 +158,26 @@ Priority ID and Category ID cannot be nil. These are the ID's of the priority an
158158
helpStack = HSHelpStack.getInstance(this);
159159
160160
// Crate the Gear object
161-
HSZendeskGear zenDeskGear = new HSZendeskGear(
161+
HSZendeskGear zendeskGear = new HSZendeskGear(
162162
"<Account URL>",
163163
"<Staff Email Address>",
164164
"<API Token");
165+
166+
// [Optional] Set the Section Id of your Help Center articles
167+
zendeskGear.setSectionId("<Section id>");
165168
166169
// Set the Gear
167-
helpStack.setGear(zenDeskGear);
170+
helpStack.setGear(zendeskGear);
168171
}
169172
170173
}
171174

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+
173181

174182
##### iii. Desk:
175183

0 commit comments

Comments
 (0)