Skip to main content

device.created
Webhook

Request

device.created events occur when a new Device is created.

Bodyapplication/jsonrequired
typestringrequired

The event type

timestampstring, (date-time)required

When the webhook event occurred

attemptedAtstring, (date-time)required

When the delivery was attempted

webhookEventIdstringrequired

ID of the associated webhook event

webhookIdstringrequired

ID of the webhook that notified your endpoint

deviceobjectrequired
projectIdstringrequired

The ID of the project this device belongs to

POST
device.created
Payload
{ "type": "string", "timestamp": "2019-08-24T14:15:22Z", "attemptedAt": "2019-08-24T14:15:22Z", "webhookEventId": "string", "webhookId": "string", "device": { "id": "string" }, "projectId": "string" }

Responses

Return a 2XX status to acknowledge the event.