Getting Started with Suhep API



The Suhep API lets you integrate support features into your own applications.

Getting Your API Key



  • 1.Go to Admin → API Keys
  • 2.Click Generate New Key
  • 3.Copy and store the key securely — it won't be shown again
  • 4.Set permissions (read-only or read-write)


  • Authentication



    Include your API key in the request header:

    Authorization: Bearer YOUR_API_KEY


    Base URL



    https://suhep.com/api/v1


    Your First Request



    List all tickets:

    GET /api/v1/tickets
    Authorization: Bearer YOUR_API_KEY


    Response:
    json
    {
      "tickets": [...],
      "total": 42,
      "page": 1
    }


    Available Endpoints



  • GET /tickets — list tickets
  • POST /tickets — create a ticket
  • GET /articles — list KB articles
  • POST /articles — create an article
  • GET /analytics — fetch metrics


  • SDKs



    Currently, the API supports REST with JSON. SDKs for popular languages are planned.