> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.cleak.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.cleak.io/_mcp/server.

# 9. POST campaigns/send-manual → plain template (no body variables)

POST https://api.cleak.io/api/whatsapp/campaigns/send-manual
Content-Type: application/json

Reference: https://docs.cleak.io/cleak-whats-app-api/phase-2-external-client-x-api-key-only-no-jwt/9-post-campaigns-send-manual-plain-template-no-body-variables

## Request

### Headers

- `x-api-key` (string, optional)

### Body (application/json)

- `string`

## Examples

**Request**

```json
"{\n    \"name\": \"CLEAK Signup Poll — Plain No Vars\",\n    \"templateName\": \"ques\",\n    \"templateLanguage\": \"en_US\",\n    \"fromPhoneNumberId\": {{phone_number_id}},\n    \"category\": \"MARKETING\",\n    \"manualPhoneNumbers\": [\"919284139968\", \"919123456789\"],\n    \"templateStructure\": [\n      { \"type\": \"BODY\", \"text\": \"Want to join CLEAK!\" },\n      { \"type\": \"BUTTONS\", \"buttons\": [\n          { \"type\": \"QUICK_REPLY\", \"text\": \"Yes\" },\n          { \"type\": \"QUICK_REPLY\", \"text\": \"No\" }\n      ]}\n    ],\n    \"templateComponents\": []\n  }"
```

**SDK Code**

```python
import requests

url = "https://api.cleak.io/api/whatsapp/campaigns/send-manual"

payload = "{
    \"name\": \"CLEAK Signup Poll — Plain No Vars\",
    \"templateName\": \"ques\",
    \"templateLanguage\": \"en_US\",
    \"fromPhoneNumberId\": {{phone_number_id}},
    \"category\": \"MARKETING\",
    \"manualPhoneNumbers\": [\"919284139968\", \"919123456789\"],
    \"templateStructure\": [
      { \"type\": \"BODY\", \"text\": \"Want to join CLEAK!\" },
      { \"type\": \"BUTTONS\", \"buttons\": [
          { \"type\": \"QUICK_REPLY\", \"text\": \"Yes\" },
          { \"type\": \"QUICK_REPLY\", \"text\": \"No\" }
      ]}
    ],
    \"templateComponents\": []
  }"
headers = {
    "x-api-key": "{{api_key}}",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.cleak.io/api/whatsapp/campaigns/send-manual';
const options = {
  method: 'POST',
  headers: {'x-api-key': '{{api_key}}', 'Content-Type': 'application/json'},
  body: '"{\n    \"name\": \"CLEAK Signup Poll — Plain No Vars\",\n    \"templateName\": \"ques\",\n    \"templateLanguage\": \"en_US\",\n    \"fromPhoneNumberId\": {{phone_number_id}},\n    \"category\": \"MARKETING\",\n    \"manualPhoneNumbers\": [\"919284139968\", \"919123456789\"],\n    \"templateStructure\": [\n      { \"type\": \"BODY\", \"text\": \"Want to join CLEAK!\" },\n      { \"type\": \"BUTTONS\", \"buttons\": [\n          { \"type\": \"QUICK_REPLY\", \"text\": \"Yes\" },\n          { \"type\": \"QUICK_REPLY\", \"text\": \"No\" }\n      ]}\n    ],\n    \"templateComponents\": []\n  }"'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.cleak.io/api/whatsapp/campaigns/send-manual"

	payload := strings.NewReader("\"{\\n    \\\"name\\\": \\\"CLEAK Signup Poll — Plain No Vars\\\",\\n    \\\"templateName\\\": \\\"ques\\\",\\n    \\\"templateLanguage\\\": \\\"en_US\\\",\\n    \\\"fromPhoneNumberId\\\": {{phone_number_id}},\\n    \\\"category\\\": \\\"MARKETING\\\",\\n    \\\"manualPhoneNumbers\\\": [\\\"919284139968\\\", \\\"919123456789\\\"],\\n    \\\"templateStructure\\\": [\\n      { \\\"type\\\": \\\"BODY\\\", \\\"text\\\": \\\"Want to join CLEAK!\\\" },\\n      { \\\"type\\\": \\\"BUTTONS\\\", \\\"buttons\\\": [\\n          { \\\"type\\\": \\\"QUICK_REPLY\\\", \\\"text\\\": \\\"Yes\\\" },\\n          { \\\"type\\\": \\\"QUICK_REPLY\\\", \\\"text\\\": \\\"No\\\" }\\n      ]}\\n    ],\\n    \\\"templateComponents\\\": []\\n  }\"")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("x-api-key", "{{api_key}}")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.cleak.io/api/whatsapp/campaigns/send-manual")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["x-api-key"] = '{{api_key}}'
request["Content-Type"] = 'application/json'
request.body = "\"{\\n    \\\"name\\\": \\\"CLEAK Signup Poll — Plain No Vars\\\",\\n    \\\"templateName\\\": \\\"ques\\\",\\n    \\\"templateLanguage\\\": \\\"en_US\\\",\\n    \\\"fromPhoneNumberId\\\": {{phone_number_id}},\\n    \\\"category\\\": \\\"MARKETING\\\",\\n    \\\"manualPhoneNumbers\\\": [\\\"919284139968\\\", \\\"919123456789\\\"],\\n    \\\"templateStructure\\\": [\\n      { \\\"type\\\": \\\"BODY\\\", \\\"text\\\": \\\"Want to join CLEAK!\\\" },\\n      { \\\"type\\\": \\\"BUTTONS\\\", \\\"buttons\\\": [\\n          { \\\"type\\\": \\\"QUICK_REPLY\\\", \\\"text\\\": \\\"Yes\\\" },\\n          { \\\"type\\\": \\\"QUICK_REPLY\\\", \\\"text\\\": \\\"No\\\" }\\n      ]}\\n    ],\\n    \\\"templateComponents\\\": []\\n  }\""

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.cleak.io/api/whatsapp/campaigns/send-manual")
  .header("x-api-key", "{{api_key}}")
  .header("Content-Type", "application/json")
  .body("\"{\\n    \\\"name\\\": \\\"CLEAK Signup Poll — Plain No Vars\\\",\\n    \\\"templateName\\\": \\\"ques\\\",\\n    \\\"templateLanguage\\\": \\\"en_US\\\",\\n    \\\"fromPhoneNumberId\\\": {{phone_number_id}},\\n    \\\"category\\\": \\\"MARKETING\\\",\\n    \\\"manualPhoneNumbers\\\": [\\\"919284139968\\\", \\\"919123456789\\\"],\\n    \\\"templateStructure\\\": [\\n      { \\\"type\\\": \\\"BODY\\\", \\\"text\\\": \\\"Want to join CLEAK!\\\" },\\n      { \\\"type\\\": \\\"BUTTONS\\\", \\\"buttons\\\": [\\n          { \\\"type\\\": \\\"QUICK_REPLY\\\", \\\"text\\\": \\\"Yes\\\" },\\n          { \\\"type\\\": \\\"QUICK_REPLY\\\", \\\"text\\\": \\\"No\\\" }\\n      ]}\\n    ],\\n    \\\"templateComponents\\\": []\\n  }\"")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.cleak.io/api/whatsapp/campaigns/send-manual', [
  'body' => '"{\\n    \\"name\\": \\"CLEAK Signup Poll — Plain No Vars\\",\\n    \\"templateName\\": \\"ques\\",\\n    \\"templateLanguage\\": \\"en_US\\",\\n    \\"fromPhoneNumberId\\": {{phone_number_id}},\\n    \\"category\\": \\"MARKETING\\",\\n    \\"manualPhoneNumbers\\": [\\"919284139968\\", \\"919123456789\\"],\\n    \\"templateStructure\\": [\\n      { \\"type\\": \\"BODY\\", \\"text\\": \\"Want to join CLEAK!\\" },\\n      { \\"type\\": \\"BUTTONS\\", \\"buttons\\": [\\n          { \\"type\\": \\"QUICK_REPLY\\", \\"text\\": \\"Yes\\" },\\n          { \\"type\\": \\"QUICK_REPLY\\", \\"text\\": \\"No\\" }\\n      ]}\\n    ],\\n    \\"templateComponents\\": []\\n  }"',
  'headers' => [
    'Content-Type' => 'application/json',
    'x-api-key' => '{{api_key}}',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.cleak.io/api/whatsapp/campaigns/send-manual");
var request = new RestRequest(Method.POST);
request.AddHeader("x-api-key", "{{api_key}}");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "\"{\\n    \\\"name\\\": \\\"CLEAK Signup Poll — Plain No Vars\\\",\\n    \\\"templateName\\\": \\\"ques\\\",\\n    \\\"templateLanguage\\\": \\\"en_US\\\",\\n    \\\"fromPhoneNumberId\\\": {{phone_number_id}},\\n    \\\"category\\\": \\\"MARKETING\\\",\\n    \\\"manualPhoneNumbers\\\": [\\\"919284139968\\\", \\\"919123456789\\\"],\\n    \\\"templateStructure\\\": [\\n      { \\\"type\\\": \\\"BODY\\\", \\\"text\\\": \\\"Want to join CLEAK!\\\" },\\n      { \\\"type\\\": \\\"BUTTONS\\\", \\\"buttons\\\": [\\n          { \\\"type\\\": \\\"QUICK_REPLY\\\", \\\"text\\\": \\\"Yes\\\" },\\n          { \\\"type\\\": \\\"QUICK_REPLY\\\", \\\"text\\\": \\\"No\\\" }\\n      ]}\\n    ],\\n    \\\"templateComponents\\\": []\\n  }\"", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "x-api-key": "{{api_key}}",
  "Content-Type": "application/json"
]
let parameters = "{
    \"name\": \"CLEAK Signup Poll — Plain No Vars\",
    \"templateName\": \"ques\",
    \"templateLanguage\": \"en_US\",
    \"fromPhoneNumberId\": {{phone_number_id}},
    \"category\": \"MARKETING\",
    \"manualPhoneNumbers\": [\"919284139968\", \"919123456789\"],
    \"templateStructure\": [
      { \"type\": \"BODY\", \"text\": \"Want to join CLEAK!\" },
      { \"type\": \"BUTTONS\", \"buttons\": [
          { \"type\": \"QUICK_REPLY\", \"text\": \"Yes\" },
          { \"type\": \"QUICK_REPLY\", \"text\": \"No\" }
      ]}
    ],
    \"templateComponents\": []
  }" as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.cleak.io/api/whatsapp/campaigns/send-manual")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```