Skip to main content

API Overview

This section documents the public HTTP APIs supported by VWire for external integrations.

It is intentionally limited to interfaces meant for device developers, automation scripts, and external services. Dashboard-internal application routes are not part of this public contract and are not published in this portal.


HTTP API styles

InterfaceBase URLAuthenticationReference
External HTTP overviewhttps://app.vwire.io/external/apiDepends on the API styleExternal HTTP APIs
Simple APIhttps://app.vwire.io/external/apiDevice token in the query stringSimple API
RESTful APIhttps://app.vwire.io/external/api/v1X-API-Key: vwk_...RESTful API

Authentication at a glance

  • Simple API: per-device auth token (iot_...) plus the Simple API toggle enabled in that device's settings.
  • RESTful API: user API key (vwk_...) sent in the X-API-Key header.

Create API keys in Dashboard -> Account -> API Keys.


Response format

All public HTTP API responses are JSON.

Successful RESTful responses generally follow:

{
"success": true,
"data": { "...": "..." }
}

Successful Simple API responses return endpoint-specific top-level fields such as pin, value, deviceId, or notificationId.

Errors follow:

{
"success": false,
"error": {
"code": "INVALID_API_KEY",
"message": "Invalid or expired API key."
}
}

Common status codes

CodeMeaning
200OK
400Bad request or validation error
401Missing or invalid authentication
403Feature disabled, plan restriction, or protected pin
404Device or pin not found
429Rate limit exceeded

Rate limits

PlanRequests per minuteRequests per day
FreeNo access
Pro6010,000
Pro Plus300100,000
Enterprise1,000Unlimited

Rate limit headers are returned on public HTTP API responses:

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 58
X-RateLimit-Reset: 1710756060

Where to go next


Data format notes

  • Timestamps are ISO 8601 strings in UTC.
  • Device and notification identifiers are UUIDs.
  • Pin values are transported as strings so firmware and services can exchange numeric or textual values consistently.