Request and response format - Publisher REST API

Request and response format - Publisher REST API

All data in request or response from the API is in JSON format. Request and response fields for every API endpoint will be different, and you will know about them individually.

Date Format

All dates and timestamps are returned and expected in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

Example: 2022-05-23T14:38:26.133

Pagination

All collections returned are limited to 5 items by default. This limit can be overridden by providing a "length" parameter in your request. You can request up to 100 items per API by overriding the parameter. 

To request first set of data, your request should be:

GET https://api.knorish.com/publisher/{api_version}/user/getusers?start=0&length=5

To request second set of data, your request should be:

GET https://api.knorish.com/publisher/{api_version}/user/getusers?start=5&length=5

To request third set of data, your request should be:

GET https://api.knorish.com/publisher/{api_version}/user/getusers?start=10&length=5

    • Related Articles

    • Getting started - Publisher REST API

      Knorish is home to tens of thousands of businesses, experts and course creators around the world that arebuilding a business using online education. At Knorish we ensure that all course creators have the tools and resources to solve the most ...
    • API Endpoints and Postman Dump - Publisher REST API

      The list of API endpoints is self-explanatory, making it easier for you to navigate and comprehend. To gain a better understanding of the request and response body structure, you can download the Postman dump and try it out yourself. API Endpoint ...
    • Authorization using App Id and App Key - Publisher REST API

      If you want a simple way to gain access to the API for an individual Knorish Site with the purpose of building a private or one-off app, you can authorize using the Knorish Site's App Id and App Key. Generate App ID and App Key To generate App Id and ...
    • Rate Limit - Publisher REST API

      To ensure Knorish remains stable and accessible to all sites, we limit the number of requests per 5 minutes that any one Site can make to the API. Consumers of the API should take steps to ensure they are using industry standard techniques to ...
    • How to use Webhooks in Knorish

      Introduction Webhooks are a powerful feature within Knorish that provides near-real-time information about specific events as they happen in your account. They allow you to automate workflows, share data, or build custom apps by sending an HTTP ...