Skip to main content
GET
Read hubs

Authorizations

Authorization
string
header
required

Use a valid Bearer token to authenticate.

Query Parameters

name
string

Only the hub with exactly this name. Example: Bandung

q
string

Search text, matched case-insensitively anywhere in the hub name or address. Example: bandung

sortBy
string

Field to sort by. Default: name Example: createdTime

sortOrder
enum<string>

Sort direction. Default: asc

Available options:
asc,
desc
fields
string

Comma-separated list of hub fields to return. Unknown fields are dropped. Example: name,address,lat,lng

byUser
boolean

When true, only the hubs the caller is assigned to. Example: true

include
enum<string>

Pass extendedData to add each hub's extendedData: the record of your organization's hub extension data type (the custom fields added under Extended data). Off by default, and only the exact value extendedData turns it on. When your organization has no hub extension, the field is left out. When it has one but this hub has no record yet, the field is null. Example: extendedData

Available options:
extendedData

Response

Success

The response is of type object.