Ze da API icon

Ze da API

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

Actions137

Newsletter → Create

AI-generated

Summary

Create a new newsletter entry with provided attributes

Inputs

  • name (required) — The name of the newsletter
  • description — The description of the newsletter
  • picture — URL or base64-encoded image for the newsletter picture
  • requestOptions — Collection of additional request options (e.g., batching, SSL settings, proxy, timeout)
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use, optionally with authentication credentials
  • timeout — Time in ms to wait for the server to send response headers before aborting the request

Output shape

a single newsletter object

Returns the created newsletter record; on failure only an error envelope is returned.

Examples

Example 1: Create a newsletter with basic fields and batching

name='Weekly Digest', description='Community updates', picture='https://example.com/logo.png', requestOptions: {batching: {batchSize: 50}}

Example 2: Create a newsletter using a proxy and skipping SSL verification

name='Secure Bulletin', proxy='http://user:pass@proxy.example.com', allowUnauthorizedCerts=true

Links

Discussion