# 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="https://2417185145-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhsdgGmVCG31mEaHyRvxC%2Fuploads%2FC1Fjn7KqIaErCHkLsi8m%2Fimage.png?alt=media&#x26;token=968d9e6b-9e2f-42a2-8df3-99f7e9dee427" alt="" width="188"><figcaption></figcaption></figure>
