Meters

Meters events: 10 in all. See the shared envelope.

meter.created

A meter was created.

Resource: meter

Not supported by `events trigger` (use the normal API flow).

Example payload
{
  "id": "wev_tzyJD3zdyanVv92U3fNQLJnXFjH",
  "type": "meter.created",
  "api_version": "v1",
  "tenant_id": "ten_dMtYBHqoMswJA34fM24koBkTzKe",
  "created_at": "2026-11-19T09:30:00Z",
  "data": {
    "resource_type": "meter",
    "resource_id": "mtr_tzyJDaAeeYS5cCeALpdocEbScJR",
    "resource": {
      "type": "meter",
      "id": "mtr_tzyJDaAeeYS5cCeALpdocEbScJR",
      "sequence": 1
    }
  }
}

meter.exchanged

A meter was exchanged on a connection.

Resource: meter

Not supported by `events trigger` (use the normal API flow).

Example payload
{
  "id": "wev_tzyJD3q4PmxJMBKyyaKUs3kQZkx",
  "type": "meter.exchanged",
  "api_version": "v1",
  "tenant_id": "ten_dMtYBHqoMswJA34fM24koBkTzKe",
  "created_at": "2026-11-19T09:30:00Z",
  "data": {
    "resource_type": "meter",
    "resource_id": "mtr_tzyJDaAeeYSgMeSvSTUwXvUuXW5",
    "resource": {
      "type": "meter",
      "id": "mtr_tzyJDaAeeYSgMeSvSTUwXvUuXW5",
      "sequence": 1
    }
  }
}

meter.installed

A meter was installed on a connection.

Resource: meter

Not supported by `events trigger` (use the normal API flow).

Example payload
{
  "id": "wev_tzyJD35tNgP3W8AXQyecXNcdjmC",
  "type": "meter.installed",
  "api_version": "v1",
  "tenant_id": "ten_dMtYBHqoMswJA34fM24koBkTzKe",
  "created_at": "2026-11-19T09:30:00Z",
  "data": {
    "resource_type": "meter",
    "resource_id": "mtr_tzyJDaAeeYSujtzgNudiXy9dcCb",
    "resource": {
      "type": "meter",
      "id": "mtr_tzyJDaAeeYSujtzgNudiXy9dcCb",
      "sequence": 1
    }
  }
}

meter.reset

A meter was reset.

Resource: meter

Not supported by `events trigger` (use the normal API flow).

Example payload
{
  "id": "wev_tzyJD3HTNhBaE4Dc8KfSf4bkwxj",
  "type": "meter.reset",
  "api_version": "v1",
  "tenant_id": "ten_dMtYBHqoMswJA34fM24koBkTzKe",
  "created_at": "2026-11-19T09:30:00Z",
  "data": {
    "resource_type": "meter",
    "resource_id": "mtr_tzyJDaAeeYSMFGqmBZmmYCQRy3i",
    "resource": {
      "type": "meter",
      "id": "mtr_tzyJDaAeeYSMFGqmBZmmYCQRy3i",
      "sequence": 1
    }
  }
}

meter.status_changed

A meter changed status.

Resource: meter

Not supported by `events trigger` (use the normal API flow).

Example payload
{
  "id": "wev_tzyJD36EqvBa7CGKk8vRjAKinSZ",
  "type": "meter.status_changed",
  "api_version": "v1",
  "tenant_id": "ten_dMtYBHqoMswJA34fM24koBkTzKe",
  "created_at": "2026-11-19T09:30:00Z",
  "data": {
    "resource_type": "meter",
    "resource_id": "mtr_tzyJDaAeeYSAkPJRbSih8WGBzwu",
    "resource": {
      "type": "meter",
      "id": "mtr_tzyJDaAeeYSAkPJRbSih8WGBzwu",
      "sequence": 1
    }
  }
}

meter_device.status_changed

A meter device moved through its physical lifecycle.

Resource: meter_device

Not supported by `events trigger` (use the normal API flow).

Example payload
{
  "id": "wev_tzyJDTFinRkPHMaHg6uDHF2whTf",
  "type": "meter_device.status_changed",
  "api_version": "v1",
  "tenant_id": "ten_dMtYBHqoMswJA34fM24koBkTzKe",
  "created_at": "2026-11-19T09:30:00Z",
  "data": {
    "resource_type": "meter_device",
    "resource": {
      "type": "meter_device",
      "sequence": 1
    }
  }
}

reading.accepted

A reading was accepted.

Resource: reading

Trigger via CLI: gotactl events trigger reading.accepted

Example payload
{
  "id": "wev_nQ53eaDhNTyx3u8WKqKHnWsfG2A",
  "type": "reading.accepted",
  "api_version": "v1",
  "tenant_id": "ten_dMtYBHqoMswJA34fM24koBkTzKe",
  "created_at": "2026-11-19T09:30:00Z",
  "data": {
    "resource_type": "reading",
    "resource_id": "rdg_nQ53eaDawviFnootDbzHWi6EeHX",
    "resource": {
      "type": "reading",
      "id": "rdg_nQ53eaDawviFnootDbzHWi6EeHX",
      "sequence": 1
    }
  }
}

reading.corrected

A reading was corrected.

Resource: reading

Not supported by `events trigger` (use the normal API flow).

Example payload
{
  "id": "wev_nQ53eaDhyzaLar4JzWHtvQMGWp4",
  "type": "reading.corrected",
  "api_version": "v1",
  "tenant_id": "ten_dMtYBHqoMswJA34fM24koBkTzKe",
  "created_at": "2026-11-19T09:30:00Z",
  "data": {
    "resource_type": "reading",
    "resource_id": "rdg_nQ53eaDawviFnooH8hpZcEJoAu4",
    "resource": {
      "type": "reading",
      "id": "rdg_nQ53eaDawviFnooH8hpZcEJoAu4",
      "sequence": 1
    }
  }
}

reading.flagged

A reading was flagged by the plausibility check.

Resource: reading

Not supported by `events trigger` (use the normal API flow).

Example payload
{
  "id": "wev_nQ53eaDhwXEAGHoXhHbYuy7Andr",
  "type": "reading.flagged",
  "api_version": "v1",
  "tenant_id": "ten_dMtYBHqoMswJA34fM24koBkTzKe",
  "created_at": "2026-11-19T09:30:00Z",
  "data": {
    "resource_type": "reading",
    "resource_id": "rdg_nQ53eaDawviFnooh6w32HBjDuBq",
    "resource": {
      "type": "reading",
      "id": "rdg_nQ53eaDawviFnooh6w32HBjDuBq",
      "sequence": 1
    }
  }
}

reading.rejected

A reading was rejected.

Resource: reading

Not supported by `events trigger` (use the normal API flow).

Example payload
{
  "id": "wev_nQ53eaDhGb2iUJtLWmfPxCDqijh",
  "type": "reading.rejected",
  "api_version": "v1",
  "tenant_id": "ten_dMtYBHqoMswJA34fM24koBkTzKe",
  "created_at": "2026-11-19T09:30:00Z",
  "data": {
    "resource_type": "reading",
    "resource_id": "rdg_nQ53eaDawviFnooP4rYuB9UUgjv",
    "resource": {
      "type": "reading",
      "id": "rdg_nQ53eaDawviFnooP4rYuB9UUgjv",
      "sequence": 1
    }
  }
}

Receiving these events

Your webhook endpoint receives each of these events as a POST with the shared envelope described in the table below. Check the signature before acting on it, answer quickly with a 2xx code and do the work afterwards: a slow or failed answer is sent again. The same event can arrive more than once, so use its id to ignore repeats.

FieldTypeMeaning
idstringThe event identifier; the same on every delivery attempt.
typestringThe event name, for example invoice.issued.
api_versionstringThe API version the body is written in.
tenant_idstringThe utility (workspace) where the event happened.
created_atstring (RFC 3339)When the event was recorded.
request_idstringThe API request that caused the change, when there was one; links to the request log.
data.resource_typestringThe type of the resource that changed.
data.resource_idstringThat resource's identifier, to read it from the API.
data.attributesobjectFields specific to each event; may be absent. Read the resource from the API for its full state.
data.resource.sequenceintegerCounts the events about the same resource; ignore an event that is not newer than the last one you applied.

Other event categories