Update device webhooks settings

Update the webhooks settings for all devices in an organization. These settings apply to all devices currently in the organization and any devices added in the future.

Request
Security:
path Parameters
orgId
required
string

The ID of the organization. Obtain this from GET /organizations.

Example: 62
Request Body schema: application/json
gpsWebhookUrl
required
Array of strings <= 3 items

The destination URLs for GPS webhooks.

eventWebhookUrl
required
Array of strings <= 3 items

The destination URLs for event webhooks.

alarmsWebhookUrl
required
Array of strings <= 3 items

The destination URLs for alarms webhooks.

Responses
200

Successful operation

400

Bad request error

401

Unauthorized error

403

Forbidden error

500

Internal server error

post/organizations/{orgId}/webhook-settings
Request samples
application/json
{
  • "gpsWebhookUrl": [
    ],
  • "eventWebhookUrl": [
    ],
  • "alarmsWebhookUrl": [
    ]
}
Response samples
application/json
{
  • "requestId": "df5fg-45fgfdsg-45fg-45454"
}