Ze da API icon

Ze da API

WhatsApp API powered by Ze da API - Send messages, manage groups, contacts and more

Actions137

Queue → Get Count

AI-generated

Summary

Fetch queue count

Inputs

  • requestOptions (required) — Options for customizing the HTTP request, including batchSize and batchInterval to control request throttling.
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible.
  • proxy — HTTP proxy to use, formatted as e.g. http://username:password@myproxy:3128.
  • timeout — Time in milliseconds to wait for the server to send response headers before aborting the request.

Output shape

a single integer representing the number of items in the queue

The response body contains the count value; on error an exception is raised rather than a structured error envelope.

Examples

Example 1: Retrieve the total number of messages waiting in a queue

Use default requestOptions, no proxy, timeout 10000, and allowUnauthorizedCerts false.

Links

Discussion