Integrate API
Home
Company
Company
  • Company
  • Users
  • Office
Orders
Orders
  • Orders
  • Change Request
  • Drafts
  • GoToScan
Webhooks
Home
Company
Company
  • Company
  • Users
  • Office
Orders
Orders
  • Orders
  • Change Request
  • Drafts
  • GoToScan
Webhooks
  1. Default module
  • Default module
    • Get started
    • Pagination and Offset
    • Company
      • Get company information
      • Delete company webhook
      • Get company package
      • Send a merge request to another company
    • Office
      • List all offices
      • Add new office
    • Users
      • List all users
      • Add new user
      • Get user by email
      • Update user details
      • Change user password
      • Send password reset link
      • Delete user
    • Orders
      • List orders
      • Upgrade order
      • Re-deliver order with styling options
      • Get order by ID
      • Get combined PDF document
      • Create a redraw order
    • Change Request
      • Add new change request for an order
      • List all change requests of order
      • Get change request by ID
    • Draft Orders
      • Create a draft order
      • Update a draft order
      • Delete a draft order
    • GoToScan Orders
      • Create a GoToScan order
    • Webhooks
      • About webhooks
      • Update company webhooks
      • /Order status
  • Webhooks calls
    • /Order status
  1. Default module

Pagination and Offset

CubiCasa API uses offset-based pagination with additional metadata to help clients navigate large datasets efficiently. The pagination response includes flags and offsets to indicate available pages.

Parameters

ParameterTypeDescription
has_moreBooleanIndicates whether there are more records to fetch.
limitIntegerThe maximum number of records to return in one request. Default is 20.
next_offsetIntegerThe offset value for the next page. If has_more is true, use this value for the next request.
previous_offsetIntegerThe offset value for the previous page.

Notes

  • The pagination object provides metadata for handling paginated responses.
  • The has_more flag indicates whether additional pages exist.
  • The next_offset should be used for retrieving the next page of results.
  • The previous_offset helps navigate back to earlier results.

Example Requests

Requesting the First Page

GET /api/integrate/v3/orders?limit=20&offset=0

Requesting the Second Page

GET /api/integrate/v3/orders?limit=20&offset=21

Response Example

{
  "pagination": {
    "has_more": true,
    "limit": 20,
    "next_offset": 21,
    "previous_offset": 0
  },
  "items": [
    { }
  ]
}

Pagination in List APIs

All list-based API endpoints in CubiCasa use this pagination model to ensure efficient data retrieval. Please refer to the respective API documentation for further details.

For any questions or issues, please contact developer.support@cubicasa.com.

Modified at 2025-08-11 11:37:01
Previous
Get started
Next
Get company information
Built with