WhatsMCP · Schema

ListContactsOutput

WhatsAppAI AgentsSIP TrunkingBusiness-APIMessaging IntegrationPhone systemsDeveloper Tools

Properties

Name Type Description
contacts arraynull
has_more boolean true when more contacts remain after this page
next_cursor string pass this as after_cursor to continue; page until has_more is false to read the whole address book
note string
refusal object present only when the request was declined
total integer how many contacts matched in total, before the limit was applied
truncated boolean true when more contacts exist than were returned
View JSON Schema on GitHub

JSON Schema

whatsmcp-com-list-contacts-output-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whatsmcp-com/json-schema/whatsmcp-com-list-contacts-output-schema.json",
  "title": "ListContactsOutput",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whatsmcp-com-openapi.json#/components/schemas/ListContactsOutput",
  "additionalProperties": false,
  "properties": {
    "contacts": {
      "items": {
        "$ref": "#/$defs/ContactView"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "has_more": {
      "description": "true when more contacts remain after this page",
      "type": "boolean"
    },
    "next_cursor": {
      "description": "pass this as after_cursor to continue; page until has_more is false to read the whole address book",
      "type": "string"
    },
    "note": {
      "type": "string"
    },
    "refusal": {
      "$ref": "#/$defs/Refusal",
      "description": "present only when the request was declined"
    },
    "total": {
      "description": "how many contacts matched in total, before the limit was applied",
      "format": "int64",
      "type": "integer"
    },
    "truncated": {
      "description": "true when more contacts exist than were returned",
      "type": "boolean"
    }
  },
  "required": [
    "contacts",
    "total"
  ],
  "type": "object",
  "$defs": {
    "AccountCandidate": {
      "additionalProperties": false,
      "properties": {
        "account_id": {
          "description": "the id to retry with as account_id",
          "type": "string"
        },
        "name": {
          "description": "the account's WhatsApp display name",
          "type": "string"
        },
        "phone": {
          "description": "the account's phone number, E.164",
          "type": "string"
        },
        "status": {
          "description": "whether the number works right now — live, connecting, or why not, as wa_list_accounts reports it",
          "type": "string"
        }
      },
      "required": [
        "account_id"
      ],
      "type": "object"
    },
    "ContactView": {
      "additionalProperties": false,
      "properties": {
        "jid": {
          "description": "the network's own identifier for this contact; on a Telegram account pass this as to or chat to every other tool",
          "type": "string"
        },
        "name": {
          "description": "the best available display name",
          "type": "string"
        },
        "name_source": {
          "description": "saved, business, or push — push names are chosen by the contact themselves",
          "type": "string"
        },
        "phone": {
          "description": "the contact's number in international form — on WhatsApp pass this to wa_send_message; on Telegram use jid instead",
          "type": "string"
        },
        "picture_url": {
          "description": "only with include_pictures: a WhatsApp-hosted URL that expires, so fetch it promptly. Empty means not visible to this account or not retrieved this time — see note. A contact without a phone number never has one",
          "type": "string"
        },
        "username": {
          "description": "Telegram only: the contact's public username, without the @",
          "type": "string"
        }
      },
      "type": "object"
    },
    "Refusal": {
      "additionalProperties": false,
      "properties": {
        "account_status": {
          "description": "when the number is not working: its status — starting, not_running, whatsapp_down (telegram_down for a Telegram account), suspended, pairing, unlinked or locked",
          "type": "string"
        },
        "account_status_reason": {
          "description": "the detail of account_status, e.g. no_egress, stopped, no_plan",
          "type": "string"
        },
        "candidates": {
          "description": "on an account_ambiguous refusal: the accounts to choose from — retry with one of these as account_id",
          "items": {
            "$ref": "#/$defs/AccountCandidate"
          },
          "type": [
            "array",
            "null"
          ]
        },
        "message": {
          "description": "a human-readable explanation",
          "type": "string"
        },
        "reason": {
          "description": "why the call was declined",
          "type": "string"
        },
        "refused": {
          "description": "true when the call was declined rather than performed",
          "type": "boolean"
        },
        "retry_after_seconds": {
          "description": "seconds to wait before retrying; absent or 0 means retrying will not help",
          "format": "int64",
          "type": "integer"
        },
        "since": {
          "description": "when the number stopped working, RFC3339, when known",
          "type": "string"
        }
      },
      "required": [
        "refused",
        "reason",
        "message"
      ],
      "type": "object"
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/whatsmcp-com-list-contacts-output"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.