Read per-account inbox channel capabilities with GET /api/v1/inbox/capabilities. Requires an API key with the read scope or a signed-in workspace member.
Request
Derived from the provider, account kind, login method, recorded scopes, and Page tasks. The shared AccountCapability state stays authoritative and never changes publishing readiness.
| Parameter | In | Type | Required |
|---|---|---|---|
workspaceId |
query | UUID | Yes |
accountId |
query | UUID | No |
Response
- HTTP 200:
InboxCapabilitieswithaccounts.
The OpenAPI document has each field’s type.
Examples
const channels = await workspace.inbox.capabilities(accountId);channels = workspace.inbox.get_capabilities()curl "https://pubnio.com/api/v1/inbox/capabilities?workspaceId=$WORKSPACE_ID" \
-H "Authorization: Bearer $PUBNIO_API_KEY"pnio inbox capabilities --account-id "$ACCOUNT_ID"async () => {
const response = await codemode.request({
method: "GET",
path: "/api/v1/inbox/capabilities",
query: { workspaceId: codemode.workspaceId },
});
return response.data;
};Errors
It declares no problem of its own.
It declares the problems every Inbox operation and most operations declare.
Idempotency
None needed: a read is safe to retry.
Limits
- Field lengths and ranges are in the OpenAPI document.