Ze da API icon

Ze da API

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

Actions137

Newsletter → Send Admin Invite

AI-generated

Summary

Send admin invitation to a newsletter

Inputs

  • id (required) — The ID of the newsletter
  • phone (required) — The phone number to invite as admin
  • requestOptions — Configuration options for the request, such as batching settings
  • 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 JSON object indicating the result of the admin invitation, typically containing a success flag and possibly an ID or error details

The response is not paginated; on success it returns a body with confirmation data, while failures may return an error object. Fields are optional beyond the success indicator.

Examples

Example 1: Invite a new admin to a newsletter using its ID and phone number

id: 'nl_12345', phone: '5511999999999', requestOptions: {batch: {batchSize: 50, batchInterval: 1000}}

Example 2: Send invite with SSL verification disabled

id: 'nl_67890', phone: '552133334444', allowUnauthorizedCerts: true

Example 3: Use a custom proxy and extended timeout

id: 'nl_abcde', phone: '557777777777', proxy: 'http://proxy.example.com:8080', timeout: 15000

Links

Discussion