Forward AWS IoT Hook
POSThttps://app.infodeck.io/api/integrations/aws-iot
Forward AWS IoT Hook
Request
Path Parameters
organizationId string
Query Parameters
event stringrequired
Possible values: [up
]
The event to forward.
- application/json
Body
required
timestamp numberrequired
The ID used for deduplication.
organizationId stringrequired
The time of the payload in ISO 8601 format.
assetId stringrequired
Information about the IoT device.
event stringrequired
The ID of the tenant.
data objectrequired
Responses
- 200
- 401
- 403
- application/json
- Schema
- Example (from schema)
- Example
Schema
forwarded booleanrequired
forwarded successfully.
{
"forwarded": true
}
{
"forwarded": true
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Unauthenticated",
"message": "Authentication is required and has failed or has not yet been provided."
}
The request has not permission.
- application/json
- Schema
- Example (from schema)
- Example
Schema
error stringrequired
The request has not permission.
message stringrequired
The request has not permission message.
{
"error": "string",
"message": "string"
}
{
"error": "Forbidden",
"message": "Access to the requested resource is forbidden."
}
Authorization: http
name: usertype: httpscheme: bearerbearerFormat: JWTdescription: Get your API token via POST /authentications/tokens
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X POST 'https://app.infodeck.io/api/integrations/aws-iot' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"timestamp": 0,
"organizationId": "string",
"assetId": "string",
"event": "string",
"data": {}
}'
ResponseClear