Properties
| Name | Type | Description |
|---|---|---|
| active | boolean | |
| devices | array | List of device serial numbers to subscribe to (deprecated, use locations instead) |
| eventTypes | object | |
| headers | object | |
| labels | object | |
| locations | array | List of location IDs to subscribe to (needs to be empty if subscribedToAll is set true) |
| name | string | |
| sensorUnits | object | |
| subscribedToAll | boolean | Subscribe to all devices in all locations, including devices and locations that are added in the future |
| url | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/airthings/json-schema/airthings-add-hook-request-enriched-schema.json",
"title": "AddHookRequest-enriched",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/airthings-webhooks-api-openapi.yml#/components/schemas/AddHookRequest-enriched",
"type": "object",
"properties": {
"active": {
"type": "boolean"
},
"devices": {
"items": {
"type": "string",
"maxLength": 10,
"minLength": 10
},
"deprecated": true,
"description": "List of device serial numbers to subscribe to (deprecated, use locations instead)",
"type": "array"
},
"eventTypes": {
"oneOf": [
{
"type": "null"
},
{
"items": {
"type": "string"
},
"type": "array"
}
]
},
"headers": {
"oneOf": [
{
"type": "null"
},
{
"additionalProperties": {
"type": "string"
},
"type": "object"
}
]
},
"labels": {
"oneOf": [
{
"type": "null"
},
{
"additionalProperties": {
"type": "string"
},
"type": "object"
}
]
},
"locations": {
"items": {
"type": "string",
"format": "uuid"
},
"description": "List of location IDs to subscribe to (needs to be empty if subscribedToAll is set true)",
"type": "array"
},
"name": {
"type": "string"
},
"sensorUnits": {
"$ref": "#/$defs/HookSensorUnits"
},
"subscribedToAll": {
"type": "boolean",
"description": "Subscribe to all devices in all locations, including devices and locations that are added in the future"
},
"url": {
"type": "string"
}
},
"required": [
"name",
"url"
],
"$defs": {
"HookSensorUnits": {
"type": "object",
"format": "string",
"properties": {
"radonUnit": {
"type": "string",
"enum": [
"pci",
"bq"
]
},
"tempUnit": {
"type": "string",
"enum": [
"c",
"f"
]
},
"pressureUnit": {
"type": "string",
"enum": [
"hpa",
"inhg"
]
},
"vocUnit": {
"type": "string",
"enum": [
"ppb",
"mgpc"
]
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/airthings-add-hook-request-enriched"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.