Skip to content

List mentions of a connected account

PubNio API inbox.mentions.list: list mentions of a connected account. Request fields, examples in five clients, errors, and idempotency.

List mentions of a connected account with GET /api/v1/inbox/mentions. Requires an API key with the read scope or a signed-in workspace member.

Request

Parameter In Type Required
workspaceId query UUID Yes
accountId query UUID No
provider query one of 21 strings No
cursor query string No
limit query string No

Response

  • HTTP 200: InboxMentionList with data, hasMore, nextCursor.

The OpenAPI document has each field’s type.

Examples

const mentions = await workspace.inbox.mentions({ accountId });
mentions = workspace.inbox.list_mentions()
curl "https://pubnio.com/api/v1/inbox/mentions?workspaceId=$WORKSPACE_ID" \
  -H "Authorization: Bearer $PUBNIO_API_KEY"
pnio inbox mentions list --account-id "$ACCOUNT_ID"
async () => {
  const response = await codemode.request({
    method: "GET",
    path: "/api/v1/inbox/mentions",
    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

  • Up to 100 items a page; pass nextCursor back as cursor. See Pagination.

Type to search…

↑↓ navigate↵ selectEsc close