# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.whapi.cloud/help-desk/channels/send-channel-newsletter-invite-link.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
