API Documentation

Integrate KocerRoxy services directly into your own applications.

Introduction

Welcome to the KocerRoxy API! Our API provides programmatic access to your subscription data, allowing you to integrate our services with your own applications. You can retrieve information about your active plans, usage statistics, and more. All API responses are in JSON format.

Authentication

All API requests must be authenticated using an API key. You can generate or find your API key below. Include your key in the `Authorization` header of your requests as a Bearer token.

Warning: Generating a new key will instantly invalidate your previous key.

Endpoints

Get All Plans

GET
/v1/plans

Retrieves a list of all your active and expired subscription plans.

curl "https://api.kocerroxy.com/v1/plans" \ -H "Authorization: Bearer sk-xxxxxxxxxx"

Get a Single Plan

GET
/v1/plans/{plan_id}

Retrieves the details of a specific subscription plan by its ID.

curl "https://api.kocerroxy.com/v1/plans/plan_12345" \ -H "Authorization: Bearer sk-xxxxxxxxxx"