List capabilities
What works where: every command and feature on every channel, with each channel's limits
Every command type and capability, with its cell on every channel Mapier offers
or plans to: yes (it works), coming_soon (not yet) or not_supported (the
channel has no such thing). A command whose cell on a channel is not yes is
refused there with 404 unsupported_command: reason: not_on_channel, or
not_on_line where only some of the channel's lines carry it. Each channel also lists its restrictions, the limits and rules that apply
there, each with the refusal a call that breaks it gets. Its textLimit is the
most text one message carries there, max in unit; a longer text is
422 validation_failed, naming the limit. On iMessage the 65,536-byte body
limit is reached first, with 413 payload_too_large. Text is never split.
Read it before a call you are not sure of; POST /v1/commands/{type}/check
then answers for one exact call. What one line can do is
GET /v1/whoami's lines[].capabilities. Any key can read this,
whatever its scopes.
Example request
curl https://api.mapier.ai/v1/capabilities \
-H "Authorization: Bearer $MAPIER_API_KEY" \
-H "x-mapier-version: 2026-12-01"Response
{
"schemaVersion": 2,
"factsHash": "sha256:…",
"channels": [
{
"channel": "imessage",
"label": "iMessage",
"releaseState": "ga",
"textLimit": { "max": 65536, "unit": "utf8_bytes", "advice": null },
"cells": { "message.send.text": "yes", "reaction.set": "yes", "receipts": "yes", … },
"restrictions": [ … ],
…
},
…
],
"features": [ … ],
"refusals": [ … ]
}The body is the same at every x-mapier-version, and factsHash changes
whenever anything in it does: cache it for the five minutes Cache-Control
allows, and key your code on the keys, cell values and numbers, never on the
text, which may be reworded. These docs are built from the same data, so a cell
here and a cell on a channel's page say the same thing.
Errors
| Status | Code | Cause |
|---|---|---|
401 | invalid_credentials | No key, or one that is unknown, revoked or expired |
409 | project_archived | The project is archived |
422 | validation_failed | An x-mapier-version the API does not support |
429 | rate_limited | Over this route's budget; the Retry-After header says how long to wait |
500 | internal_error | Mapier failed on its side; give requestId to support |
503 | service_busy | Mapier is busy and did nothing; wait details.retryAfter seconds and call again |
503 | upstream_unavailable | Mapier could not answer right now; retry with backoff |