iOS · Schema
APNs Notification Payload
The JSON body POSTed to /3/device/{deviceToken} on api.push.apple.com. The aps dictionary is reserved by Apple; custom keys may be added at the top level.
iOSAppleMobileApp StorePush NotificationsIn-App PurchasesSubscriptionAuthenticationWalletsDeveloper Platform
Properties
| Name | Type | Description |
|---|---|---|
| aps | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/ios/main/json-schema/apns-notification-payload-schema.json",
"title": "APNs Notification Payload",
"description": "The JSON body POSTed to /3/device/{deviceToken} on api.push.apple.com. The aps dictionary is reserved by Apple; custom keys may be added at the top level.",
"type": "object",
"required": ["aps"],
"properties": {
"aps": {
"type": "object",
"properties": {
"alert": {
"oneOf": [
{ "type": "string" },
{
"type": "object",
"properties": {
"title": { "type": "string" },
"subtitle": { "type": "string" },
"body": { "type": "string" },
"title-loc-key": { "type": "string" },
"title-loc-args": { "type": "array", "items": { "type": "string" } },
"loc-key": { "type": "string" },
"loc-args": { "type": "array", "items": { "type": "string" } },
"launch-image": { "type": "string" }
}
}
]
},
"badge": { "type": "integer", "minimum": 0 },
"sound": {
"oneOf": [
{ "type": "string" },
{
"type": "object",
"properties": {
"critical": { "type": "integer", "enum": [0, 1] },
"name": { "type": "string" },
"volume": { "type": "number", "minimum": 0, "maximum": 1 }
}
}
]
},
"thread-id": { "type": "string" },
"category": { "type": "string" },
"content-available": { "type": "integer", "enum": [0, 1] },
"mutable-content": { "type": "integer", "enum": [0, 1] },
"target-content-id": { "type": "string" },
"interruption-level": {
"type": "string",
"enum": ["passive", "active", "time-sensitive", "critical"]
},
"relevance-score": { "type": "number", "minimum": 0, "maximum": 1 },
"filter-criteria": { "type": "string" },
"stale-date": { "type": "integer" },
"content-state": { "type": "object", "additionalProperties": true },
"timestamp": { "type": "integer" },
"event": {
"type": "string",
"enum": ["start", "update", "end"]
},
"dismissal-date": { "type": "integer" }
}
}
},
"additionalProperties": true
}
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/apns-notification-payload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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.