# Link a Gateway to a Space **POST /spaces/{spaceId}/gateways** ## Servers - The production URL for sending requests to the Reelables API.: https://api.reelables.com/v1 (The production URL for sending requests to the Reelables API.) ## Authentication methods - Auth endpoint ## Parameters #### Headers - **request-id** (string) Unique identifier for the API request. Example: f7ecf495-ca1c-4468-a6c2-6ee3f723fa00 #### Path parameters - **spaceId** (string) The identifier of the Space ## Body parameters Content-type: application/json - **shortId** (string) Short human-readable Gateway identifier. Example: 'AB1D' - **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 - **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' - **gatewayId** (string) Gateway identifier, which is a combination of manufacturer and deviceId. Example: 'sysLoco_e10fce301222e588e1d7482b' - **productName** (string) Name of Gateway product. Example: 'HGD4' - **manufacturer** (string) - **longitude** (number(float)) Longitude value of the coordinate. Example: -0.123 ## Responses ### 200: 200 response #### Body Parameters: application/json (object) - **numberAssetsInSpace** (integer(int32)) The total number of Assets currently in the Space - **name** (string) The name of the Space - **locations** (object) - **id** (string) Unique identifier of the Space. Example: '00Es43YBJfNRXNSvLmni' - **createdOn** (string(date-time)) Date that the Space was created, in UTC. Example: '2019-07-21T17:32:28Z' - **gateway** (object) - **workspaceId** (string(uuid)) Unique identifier of the workspace. Example: 'd290f1ee-6c54-4b01-90e6-d701748f0851' ### 401: Unauthorized #### Body Parameters: application/json (object) - **errors** (array[object]) ### 403: Forbidden #### Body Parameters: application/json (object) - **errors** (array[object]) ### 404: Space not found #### Body Parameters: application/json (object) - **errors** (array[object]) ### 429: Too Many Requests #### Body Parameters: application/json (object) - **errors** (array[object]) [Powered by Bump.sh](https://bump.sh)