Skip to main content
GET
Read data

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Query Parameters

dataTypeId
string

Only records of this data type. Example: 6abcadb6a138a6318d023ec5

dataTypeName
string

Only records of the data type with this name. Example: Outlet

hubId
string

Only records of this hub, or several separated by commas. Must be a hub the caller belongs to. Ignored for a data type without hub scope. Example: 65c1f68ea735b522d370ea25

dataId
string

Only records with these Titles, separated by commas. Example: OUT-0012,OUT-0013

q
string

Search text, see above. Example: sumber rejeki

page
integer

Page number. Default: 1

limit
integer

Records per page. -1 or any value above 2000 returns 2000. Default: 20

sortBy
string

Field to sort by. Default: createdTime

sortOrder
enum<string>

Sort direction. Default: desc

Available options:
asc,
desc
fields
string

Comma-separated list of record keys to return. Example: dataId,outletName,hubId

limitUser
boolean

Set false to skip the Limit Data by User filter, where the caller's role allows it. Default: true

updatedTime
string

Only records updated after this time, YYYY-MM-DD HH:mm:ss. The response then adds deletedData, the records deleted since. Example: 2026-11-01 00:00:00

timeBy
string

Date field to filter on, with timeFrom and timeTo (YYYY-MM-DD HH:mm:ss). Example: createdTime

timeFrom
string

Start of the timeBy window.

timeTo
string

End of the timeBy window.

count
boolean

When true, returns only count, the number of matching records.

lazyLoad
integer

Set 1 for cursor paging by _id instead of pages: pass the last _id you received as cursor.

cursor
string

With lazyLoad=1, the _id after which to continue.

Response

Success

The response is of type object.