Headers
-
request-id
string Unique identifier for the API request. Example: f7ecf495-ca1c-4468-a6c2-6ee3f723fa00
Path parameters
-
spaceId
string Required The identifier of the Space
Body
Required
-
shortId
string Short human-readable Gateway identifier. Example: 'AB1D'
Maximum length is
10
. Format should match the following pattern:^[-_A-Za-z0-9]*$
. -
isStatic
boolean Indicate whether the Gateway is statically located. If so, then longitude and latitude are required.
-
registerGateway
boolean Indicates whether the gateway should be registered. True - will register a new gateway (productName is required) False - indicates that the gateway has already been registered
-
replaceExistingGateway
boolean Indicate whether to replace the existig Gateway, in the case where the Space is already linked to a Gateway
-
latitude
number(float) Latitude value of the coordinate. Example: 51.123
Minimum value is
-90
, maximum value is90
. rssiFilter
string | integer(int32) The RSSI filter value for the Gateway BLE receiver (setting RSSI Filter via the API is only currently supported for Particle Gateways)
-
deviceId
string Manufacturer identifier for the Gateway device. Example: 'e10fce301222e588e1d7482b'
Maximum length is
100
. Format should match the following pattern:^[-_A-Za-z0-9]*$
. -
gatewayId
string Gateway identifier, which is a combination of manufacturer and deviceId. Example: 'sysLoco_e10fce301222e588e1d7482b'
Maximum length is
100
. Format should match the following pattern:^[-_A-Za-z0-9]*$
. -
productName
string Name of Gateway product. Example: 'HGD4'
Maximum length is
100
. Format should match the following pattern:^[a-zA-Z0-9!@#$&()\-
.+,/" ]*$`. -
manufacturer
string Gateway manufacturer. Example: 'sysLoco'. If you want us to support a new manufacturer, please contact us at support@reelables.com
Values are
hpeAruba
,cassiaNetworks
,particle
,sysLoco
, orversa
. -
longitude
number(float) Longitude value of the coordinate. Example: -0.123
Minimum value is
-180
, maximum value is180
.
curl \
--request POST 'https://api.reelables.com/v1/spaces/{spaceId}/gateways' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--header "request-id: string" \
--data '{"shortId":"string","isStatic":true,"registerGateway":true,"replaceExistingGateway":true,"latitude":42.0,"rssiFilter":"FAR","deviceId":"string","gatewayId":"string","productName":"string","manufacturer":"hpeAruba","longitude":42.0}'
# Headers
request-id: string
# Payload
{
"shortId": "string",
"isStatic": true,
"registerGateway": true,
"replaceExistingGateway": true,
"latitude": 42.0,
"rssiFilter": "FAR",
"deviceId": "string",
"gatewayId": "string",
"productName": "string",
"manufacturer": "hpeAruba",
"longitude": 42.0
}
{
"numberAssetsInSpace": 42,
"name": "string",
"locations": {
"nextToken": "string",
"items": [
{
"lastSeenTimestamp": "2025-05-04T09:42:00Z",
"coordinate": {
"latitude": 42.0,
"accuracy": 42,
"longitude": 42.0
},
"address": {
"country": "string",
"road": "string",
"city": "string",
"district": "string",
"postalCode": "string",
"county": "string",
"state": "string"
},
"error": 42,
"timestamp": "2025-05-04T09:42:00Z"
}
]
},
"id": "string",
"createdOn": "2025-05-04T09:42:00Z",
"gateway": {
"shortId": "string",
"isStatic": true,
"latitude": 42.0,
"hasPendingCommands": true,
"rssiFilter": "FAR",
"deviceId": "string",
"gatewayId": "string",
"productName": "string",
"addedOn": "2025-05-04T09:42:00Z",
"manufacturer": "string",
"longitude": 42.0
},
"workspaceId": "string"
}
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}
{
"errors": [
{
"code": "string",
"id": "string",
"detail": "string",
"title": "string",
"status": "string"
}
]
}