Create Channel

Create a new WhatsApp channel with a name, description, and profile picture.

POST
https://api.wawp.net/v2/channels?access_token=123456789&instance_id=123456789&name=Channel+Name&description=Channel+Description&picture=%7B%0A++%22mimetype%22%3A+%22image%2Fjpeg%22%2C%0A++%22filename%22%3A+%22filename.jpg%22%2C%0A++%22url%22%3A+%22https%3A%2F%2Fwawp.net%2Fwp-content%2Fuploads%2F2025%2F08%2Ficon-256x256-1.jpg%22%0A%7D&type=string

Authentication Required

Login to swap the placeholders with your real Instance ID and Access Token.

Log In
Test /v2/channels/create endpoint
POST
POST

No query parameters required

This endpoint doesn't expect data in the URL.

Best practices

  • Use clear, descriptive titles for better discoverability.

  • Prepare a content calendar before launching to keep followers engaged.

  • Verify your local region supports channel creation.

Request Parameters

Configure the parameters required to interact with this endpoint. All query and body arguments are listed below with their details.

Request Body

Sent as a JSON object
string

Your unique WhatsApp Instance ID

Example:
string

Your API Access Token

Example:
string

The name of the channel

Example:
string

A brief description of the channel

Example:
object

Channel profile picture details

Example:
string

Channel type

Example:

Request Samples

Use these ready-to-go code snippets to integrate our API into your project quickly and efficiently. Choose your preferred language and library.

1const baseUrl = "https://api.wawp.net";
2const endpoint = "/v2/channels";
3const params = new URLSearchParams({
4 "instance_id": "123456789",
5 "access_token": "123456789"
6}).toString();
7const body = {
8 "name": "Channel Name",
9 "description": "Channel Description",
10 "picture": {
11 "mimetype": "image/jpeg",
12 "filename": "filename.jpg",
13 "url": "https://wawp.net/wp-content/uploads/2025/08/icon-256x256-1.jpg"
14 },
15 "type": "string"
16};
17
18fetch(`${baseUrl}${endpoint}${params ? '?' + params : ''}`, {
19 method: "POST",
20 headers: { "Content-Type": "application/json" },
21 body: JSON.stringify(body)
22})
23 .then(async (response) => {
24 if (response.ok) {
25 const data = await response.json();
26 console.log("Success:", data);
27 return data;
28 }
29
30 // Error Handling
31 if (response.status === 401) {
32 console.error("Error 401: Unauthorized - Invalid or Missing Access Token");
33 }
34 if (response.status === 400) {
35 console.error("Error 400: Bad Request - Invalid Parameter Format");
36 }
37 if (response.status === 500) {
38 console.error("Error 500: Internal Server Error - Unexpected Failure");
39 }
40
41 const errorText = await response.text();
42 console.error(`Error ${response.status}: ${errorText}`);
43 })
44 .catch((error) => console.error("Network Error:", error));
Interactive Samples
Ln 44, Col 1javascript

Expected Responses

Explore all possible responses and outcomes from the server. We have documented each status code with data examples to make success and error handling easier.

Channel created successfully
Bad Request - Invalid Parameter Format
Unauthorized - Invalid or Missing Access Token
Internal Server Error - Unexpected Failure
Previous TopicGet Channels List
Next TopicGet Channel Info

Command Palette

Search for a command to run...