Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Book a Demo
  • Product Updates
  • Contact Us
  • Home
  • API & Webhooks
  • API V2

How To Retrieve Questions Through API

Fetch multiple questions or a single question using Helpjuice’s API.

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Managing Users Permissions & Accessibility Content Management Analytics Video Tutorials
  • Article Editor
  • Swifty AI
  • Languages & Translations
  • Settings
    User Settings User Behavior Knowledge Base Settings Custom Domain
  • Authentication
  • Customization
    Customization Guides
  • API & Webhooks
    API V3 API V2
  • Billing / Subscription
+ More

Table of Contents

What Are Questions? Retrieving Multiple Questions: Retrieving an Individual Question Troubleshooting Best Practices

This article shows how to get a list of questions using the API, as well as how to retrieve the details of a single question by its ID. Use these endpoints to programmatically access your knowledge base content.

In this article, you’ll learn:

  • How to retrieve multiple questions with filters
  • How to fetch an individual question by its ID
  • How to interpret question data returned by the API
  • Best practices when using these endpoints

What Are Questions?

“Questions” is related to the Article Title. This means you'll retrieve a list of article titles when you use the API calls listed in this article.

If you also need to retrieve the actual article content, see How To Retrieve Answers Through API. However, if you need to export both questions and answers in a single response. Helpjuice API v3 

 

Retrieving Multiple Questions:

Use the following URL to retrieve questions:

my_account.helpjuice.com/api/questions

You can further filter and order the questions returned via Query Parameters:

Parameter
 
Description
 
Type
 
Default
 
category_id
 
Returns only questions under this category.
 
Integer
 
null
 
limit
 
Limits the number of questions returned. The maximum limit is 1000. If you need all your records, you'll have to use this parameter combined with page.
 
Integer
 
250
 
page Useful to retrieve questions in chunks. Integer 1
order
 
Orders the questions returned. Allowed: "name" and "updated_at".
 
String
 
position
 
related_to Returns only questions related to the question parameterized.
 
Integer null

It's also possible to scope the questions within a specific language. To do so, just provide the desired language in the URL using the following syntax:

your_account.helpjuice.com/api/en_US/questions

Response:

[
  {
    "id":112828,
    "name":"Embedding Videos Into Your Knowledge Base",
    "views":394,
    "account_id":1885,
    "accessibility":1,
    "description":null,
    "email":"john.smith@example.com",
    "is_published":true,
    "is_juiced":false,
    "codename":"embedding-videos-into-knowledge-base",
    "language_id":1,
    "position":0,
    "created_at":"2014-11-24T20:15:53.865Z",
    "updated_at":"2016-01-23T17:00:51.389Z",
    "categories":[
      {
        "id":7732,
        "account_id":1885,
        "name":"Using Our Text Editor",
        "language_id":1,
        "accessibility":1,
        "created_at":"2014-11-19T16:30:44.994Z",
        "updated_at":"2016-03-10T14:58:21.011Z",
        "parent_id":7728,
        "lft":10312,
        "rgt":10313,
        "position":3,
        "codename":"using-our-text-editor",
        "index":0
      }]
  }
]

By default, questions will be showed in JSON format. However, it's possible to retrieve them in other 2 formats: XLS and CSV. To do so, you just need to specify the format in the URL, as follows:

your_account.helpjuice.com/api/questions.xls => to retrieve XLS spreadsheet
your_account.helpjuice.com/api/questions.csv => to retrieve a CSV file

Retrieving an Individual Question

To retrieve a specific Question, use the following URL:

your_account.helpjuice.com/api/questions/[QUESTION_ID]

If the ID you provided exists, you'll get a 200 Response with a response of the template as such:

{
  "id":112828,
  "name":"Embedding Videos Into Your Knowledge Base",
  "views":394,
  "account_id":1885,
  "accessibility":1,
  "slug":null,
  "description":null,
  "email":"john.smith@example.com",
  "is_published":true,
  "is_juiced":false,
  "codename":"embedding-videos-into-knowledge-base",
  "language_id":1,
  "position":0,
  "created_at":"2014-11-24T20:15:53.865Z",
  "updated_at":"2016-01-23T17:00:51.389Z",
  "answer":"\u003cp\u003eWhile writing articles, ..."
}

To get a list of articles and their IDs, simply use API to retrieve multiple questions or download the questions file at https://your_account.helpjuice.com/admin/en_US/settings/export_data 

 

Troubleshooting

  • Blank response: if you are not seeing any data, or you are receiving a corrupted file (in case of XLS), that's because your Knowledge Base is marked as Internal.
    •  Solution: if you are using a browser to access the data, just sign in before making the request. Otherwise, you'll need to use your Private Key in a request parameter called api_key. See How to Get Your API Key.
      • Example: your_account.helpjuice.com/api/en_US/questions?api_key=MY_KEY

Best Practices

  • Use pagination (page + limit) to avoid performance issues when retrieving many questions.
  • Filter by category_id to get focused subsets of your content.
  • If your KB is internal-only, always include the api_key for authenticated access.
  • Consistently use language-scoped endpoints when your KB supports multiple languages.
csv xls retrive json category api questions api retreving helpjuice api

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How to Integrate Helpjuice with Olark
  • Overview: Customization
  • Popular Questions Standard Section

Copyright © 2025 - Helpjuice

Helpjuice, Inc. is a registered US Corporation, EIN # 45-2275731

Download W9
  • Help
  • Features
  • Pricing
  • About
  • Careers
  • Customers
  • Blog
  • Case Studies
  • Resources
  • Knowledge Base Examples
  • Privacy Policy
  • Terms of Service

Why is the knowledge base important?

With a knowledge base, you can allow your customers to self-help themselves, thus reducing your customer support by up to 60%. Furthermore, you can also have your team get instant answers to the questions they need without having to email themselves all using knowledge base software.

What is the purpose of a knowledge base?

The purpose of knowledge base software is to allow you to host your knowledge base/corporate wiki in one centralized 'hub'. Both your customers, and employees can now access information within seconds!

Made with from Miami, Bosnia, Morocco & Brasil

+1 (833) 387 3877 support@helpjuice.com
Expand