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

API Response Codes

Understand what different HTTP responses mean in Helpjuice API

Written by Emil Hajric

Updated at September 29th, 2025, by Amanda Helpjuice

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

How to Handle API Response Codes Best Practices

Helpjuice API uses standard HTTP status codes to indicate the outcome of a request. Knowing what each code means helps you handle errors properly and build more robust integrations.

In this article, you’ll learn:

  • Common HTTP response codes used by the Helpjuice API
  • What each response code indicates
  • How to troubleshoot or handle errors
Status Code Meaning When It Happens
401 - Unauthorized Authentication is required but missing Occurs when you try to access the API without including a valid API key or token
403 - Forbidden Authenticated user does not have access Happens when your credentials are valid but you don’t have permission to access the requested data
404 - Not Found Requested data does not exist Returned when the resource (question, article, or category) does not exist in your knowledge base
422 - Unprocessable Entity Submitted data is invalid Happens when the request payload is malformed or missing required fields

How to Handle API Response Codes

  1. 401 Unauthorized:
  • Check that your API key or token is correct.
  • Ensure it’s included in the request header or query parameter.
  1. 403 Forbidden:
  • Verify that your account has sufficient permissions.
  • Make sure the endpoint you are calling is allowed for your role.
  1. 404 Not Found:
  • Confirm that the ID or URL in the request is correct.
  • Check whether the resource has been deleted or moved.
  1. 422 Unprocessable Entity:
  • Validate that all required fields are included and formatted correctly.
  • Review API documentation for expected payload structure.

Best Practices

  • Always check response codes after making an API request.
  • Implement error handling in your integration to manage 4xx and 5xx responses.
server responses status codes

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • How To Retrieve Answers Through API
  • How to Upvote or Downvote Questions via API
  • How to Get Your API Key

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