API Reference

Send newsletter invite link

Log in to see full request history
Path Params
string
required

Newsletter Invite Code

Body Params

Newsletter invite link

string
required

Use the phone number or Chat ID of the contact/group/channel to which you want to send the message. Use Get groups to get the group ID.

string

Message ID of the message to be quoted

integer
1 to 604800

Time in seconds for the message to be deleted. The Disappearing messages setting should be enabled in the chat where you are sending this message.

string

Message ID of the message to be edited

string

Title of the newsletter. If not set, the newsletter title will be used

string

Invite message with link. Example: "Follow this link to join my newsletter on WhatsApp". Use %URL% to insert the invite link.

string
Defaults to newsletter_picture

Type of the newsletter preview. Use 'newsletter_picture' to set a newsletter picture as large preview, 'thumbnail' to set a custom small jpeg image from 'preview' param as preview, 'media' to set a custom large image from 'media' param as large preview, 'style1' to set a isometric style for newsletter invite link preview stub, 'style2' to set a flat style for newsletter invite link preview stub, 'style3' to set a WA style for newsletter invite link preview stub, or 'none' to not set a preview. If not set, the default is newsletter_picture.

string

Base64 encoded image for small version newsletter invite link preview (preview_type=thumbnail). In JPEG format

string

Mime type of media

boolean

Do not use our encoding

boolean

Do not use the cache in a request

array of strings

The numbers of the mentioned users

mentions
boolean

Is view once

Responses

Language
Credentials
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json