Skip to main content

Helpshift APIs

Helpshift provides a way to use each functional element of the SDK separately based on your requirements. You can call only specific screens from the SDK based on the functionality you want to expose in your app.

Note

All the public APIs in the SDK should be called after initializing the SDK via Install() API.

Integrating Contact Us & In App Messaging

You can use the API call ShowConversation(Object, Dictionary<string, object>) to allow a user to directly send feedback or start a new conversation without having to first view FAQs. Once user starts a new conversation, this API call will show the conversation screen. The conversation will continue until it is resolved or rejected by the agent.

DefinitionHelpshift.ShowConversation(Object, Dictionary<string, object>)
Example CodeHelpshift.ShowConversation(this, config) where this is the iOS ViewController/Android Activity you're calling Helpshift from and config is a Dictionary that represents the configuration that needs to be set to the conversation.
Use with"Contact Us" or "Send Feedback" button

Supports these API Options.

Integrating FAQs

You can use the API call ShowFAQs(Object, Dictionary<string, object>) to provide a way for the user to invoke the purpose-built help/support section in your app. This is the easiest approach to enable help in your app as it bundles all the capabilities of the Helpshift SDK in a simple and intuitive interface. You can wire this API call to a "Help" or "Support" action in your app.

This View Controller combines the FAQ, Search and Contact Us functionality together in a single interface. In this view, a user can search for a specific question in the FAQ failing which they can report an issue. When you respond back to their question from the Helpshift Agent Dashboard, the reply will be shown as a count besides Contact Us, clicking on which will open up the conversation.

DefinitionShowFAQs(Object, Dictionary<string, object>)
Example CodeHelpshift.ShowFAQs(this, config) where this is the iOS ViewController/Android Activity you're calling Helpshift from and config is a Dictionary that represents the configuration that needs to be set to the FAQ screen.
Use with"Help Us" or "Support" button

Supports these API Options.

Showing a Particular FAQ Section

You can use the API call ShowFAQSection(string, Object, Dictionary<string, object>) to show FAQs from a particular FAQ section.

You will need the publish-id of the FAQ section to use this API:

This feature works like a permalink for displaying specific FAQ sections as context-sensitive help in your app. For example, if your app requires the user to log in to using email, Facebook and Twitter, you could wire a help action on the login screen that can link to the Helpshift FAQ section called "Login help" which has several questions related to log in methods.

DefinitionShowFAQSection(string, Object, Dictionary<string, object>)
Example CodeShowFAQSection(sectionId, this, config) where sectionId is the section publish ID, this is the iOS ViewController/Android Activity you're calling Helpshift from and config is a Dictionary that represents the configuration that needs to be set to the FAQ screen.

Supports these API Options.

Showing a Particular FAQ

You can use the API ShowSingleFAQ(string, Object, Dictionary<string, object>) to show a single FAQ.

You'll need the publish-id of the FAQ to use this API:

DefinitionShowSingleFAQ(string, Object, Dictionary<string, object>)
Example CodeShowSingleFAQ(faqId, this, config) where faqId is the FAQ publish ID, this is the iOS ViewController/Android Activity you're calling Helpshift from and config is a Dictionary that represents the configuration that needs to be set to the FAQ screen.

Supports these API Options.

Set SDK language

For more info about this API and languages you can refer here.