> For the complete documentation index, see [llms.txt](https://support.whapi.cloud/help-desk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.whapi.cloud/help-desk/channels/send-channel-newsletter-invite-link.md).

# Send Channel (Newsletter) invite link

To send an invitation to a newsletter, you will need an invite code.

It can be obtained using the following methods:

{% embed url="<https://whapi.readme.io/reference/getnewsletters>" %}

or

{% embed url="<https://whapi.readme.io/reference/getnewsletter>" %}

The response to the request will contain an array of information about the  newsletter, including an invite code `"invite_code": "TESTCODE12345":`<br>

```json
{
  "id": "test_id_1234567890@newsletter",
  "name": "Test Newsletter",
  "type": "newsletter",
  "chat_pic": "https://example.com/test_pic_small.jpg",
  "chat_pic_full": "https://example.com/test_pic_full.jpg",
  "created_at": 1700000000,
  "subscribers_count": 1234,
  "invite_code": "TESTCODE12345",
  "verification": false,
  "description_at": "1700001111222333",
  "description": "This is a test newsletter for demo purposes only.",
  "preview": "/v/test_preview_image.jpg",
  "role": "member"
}
```

To send an invitation, use:

{% embed url="<https://whapi.readme.io/reference/sendnewsletterinvite>" %}

You can view the result in the Whatsapp

<figure><img src="/files/16WSUfrj9t6t9Bk1XOKu" alt="" width="188"><figcaption></figcaption></figure>
