Ze da API icon

Ze da API

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

Actions137

Business → Get Available Categories

AI-generated

Summary

Retrieves available categories for the Business resource from the Ze da API.

Inputs

  • requestOptions — Add Option. Controls request batching to throttle API calls. Configurable via batchSize (items per batch, -1 disabled, 0 treated as 1) and batchInterval (milliseconds between batches, 0 disabled). Default batch size is 50 with 1000ms interval between batches.
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible. Defaults to false. When true, SSL certificate validation is skipped.
  • proxy — HTTP proxy to use. Format: http://myproxy:3128. If authentication is required, use http://username:password@myproxy:3128. Defaults to empty string (no proxy).
  • timeout — Time in milliseconds to wait for the server to send response headers (and start the response body) before aborting the request. Defaults to 10000ms. Minimum value is 1ms.

Output shape

Returns the available categories list from the Ze da API Business endpoint. Exact return structure not documented in properties; depends on API response.

No source implementation available for the Business resource (index.js contains only source map comment). Behavior grounded in declared properties only.

Examples

Example 1: Basic category retrieval without batching or proxy

Set allowUnauthorizedCerts to true if connecting to a server with self-signed certificates. Leave proxy and requestOptions at defaults.

Example 2: Throttled category retrieval with batching

Set batchSize to 20 and batchInterval to 500 to process 20 categories every 500ms. Configure timeout as needed for the API response time.

Links

Discussion