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

# Create Communication

POST https://api.virtuoussoftware.com/api/Communication
Content-Type: application/json

Reference: https://virtuous.ferndocs.com/reference/crm-plus/campaigns/create-communication

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api.virtuoussoftware.com` (https://api.virtuoussoftware.com, default)
- `{{baseUrl}}api` ({{baseUrl}}api)

## Request

### Body (application/json)

This endpoint expects an object.

- `name` (string, optional)
- `campaignId` (string, optional)
- `channelType` (string, optional)
- `communicationType` (string, optional)
- `communicationStep` (string, optional)
- `startDateTime` (string, optional)
- `ownerId` (string, optional)
- `givingGoal` (string, optional)
- `newGiverGoal` (string, optional)
- `internalCostEstimate` (string, optional)
- `vendorCostEstimate` (string, optional)
- `networkReach` (string, optional)

## Response

### 200

OK

- `communicationId` (string, optional)
- `name` (string, optional)
- `campaignId` (string, optional)
- `campaignName` (string, optional)
- `channelType` (string, optional)
- `communicationType` (string, optional)
- `startDateTimeUtc` (string, optional)
- `givingGoal` (string, optional)
- `projectId` (string, optional)
- `projectCode` (string, optional)
- `projectName` (string, optional)
- `createDateTimeUtc` (string, optional)
- `createdByUser` (string, optional)
- `modifiedDateTimeUtc` (string, optional)
- `modifiedByUser` (string, optional)

## Errors

### 400 Bad Request Error

BadRequest

- `any`

## Examples

**Request**

```json
{
  "name": "<string>",
  "campaignId": "<integer>",
  "channelType": "<string>",
  "communicationType": "<string>",
  "communicationStep": "<string>",
  "startDateTime": "<dateTime>",
  "ownerId": "<integer>",
  "givingGoal": "<double>",
  "newGiverGoal": "<integer>",
  "internalCostEstimate": "<double>",
  "vendorCostEstimate": "<double>",
  "networkReach": "<integer>"
}
```

**Response**

```json
{
  "communicationId": "<integer>",
  "name": "<string>",
  "campaignId": "<integer>",
  "campaignName": "<string>",
  "channelType": "<string>",
  "communicationType": "<string>",
  "startDateTimeUtc": "<dateTime>",
  "givingGoal": "<decimal>",
  "projectId": "<integer>",
  "projectCode": "<string>",
  "projectName": "<string>",
  "createDateTimeUtc": "<dateTime>",
  "createdByUser": "<string>",
  "modifiedDateTimeUtc": "<dateTime>",
  "modifiedByUser": "<string>"
}
```

**SDK Code**

```python Campaigns_createCommunication_example
import requests

url = "https://api.virtuoussoftware.com/api/Communication"

payload = {
    "name": "<string>",
    "campaignId": "<integer>",
    "channelType": "<string>",
    "communicationType": "<string>",
    "communicationStep": "<string>",
    "startDateTime": "<dateTime>",
    "ownerId": "<integer>",
    "givingGoal": "<double>",
    "newGiverGoal": "<integer>",
    "internalCostEstimate": "<double>",
    "vendorCostEstimate": "<double>",
    "networkReach": "<integer>"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

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

print(response.json())
```

```javascript Campaigns_createCommunication_example
const url = 'https://api.virtuoussoftware.com/api/Communication';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"name":"<string>","campaignId":"<integer>","channelType":"<string>","communicationType":"<string>","communicationStep":"<string>","startDateTime":"<dateTime>","ownerId":"<integer>","givingGoal":"<double>","newGiverGoal":"<integer>","internalCostEstimate":"<double>","vendorCostEstimate":"<double>","networkReach":"<integer>"}'
};

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

```go Campaigns_createCommunication_example
package main

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

func main() {

	url := "https://api.virtuoussoftware.com/api/Communication"

	payload := strings.NewReader("{\n  \"name\": \"<string>\",\n  \"campaignId\": \"<integer>\",\n  \"channelType\": \"<string>\",\n  \"communicationType\": \"<string>\",\n  \"communicationStep\": \"<string>\",\n  \"startDateTime\": \"<dateTime>\",\n  \"ownerId\": \"<integer>\",\n  \"givingGoal\": \"<double>\",\n  \"newGiverGoal\": \"<integer>\",\n  \"internalCostEstimate\": \"<double>\",\n  \"vendorCostEstimate\": \"<double>\",\n  \"networkReach\": \"<integer>\"\n}")

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

	req.Header.Add("Authorization", "Bearer <token>")
	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 Campaigns_createCommunication_example
require 'uri'
require 'net/http'

url = URI("https://api.virtuoussoftware.com/api/Communication")

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

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"name\": \"<string>\",\n  \"campaignId\": \"<integer>\",\n  \"channelType\": \"<string>\",\n  \"communicationType\": \"<string>\",\n  \"communicationStep\": \"<string>\",\n  \"startDateTime\": \"<dateTime>\",\n  \"ownerId\": \"<integer>\",\n  \"givingGoal\": \"<double>\",\n  \"newGiverGoal\": \"<integer>\",\n  \"internalCostEstimate\": \"<double>\",\n  \"vendorCostEstimate\": \"<double>\",\n  \"networkReach\": \"<integer>\"\n}"

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

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

HttpResponse<String> response = Unirest.post("https://api.virtuoussoftware.com/api/Communication")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"name\": \"<string>\",\n  \"campaignId\": \"<integer>\",\n  \"channelType\": \"<string>\",\n  \"communicationType\": \"<string>\",\n  \"communicationStep\": \"<string>\",\n  \"startDateTime\": \"<dateTime>\",\n  \"ownerId\": \"<integer>\",\n  \"givingGoal\": \"<double>\",\n  \"newGiverGoal\": \"<integer>\",\n  \"internalCostEstimate\": \"<double>\",\n  \"vendorCostEstimate\": \"<double>\",\n  \"networkReach\": \"<integer>\"\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.virtuoussoftware.com/api/Communication', [
  'body' => '{
  "name": "<string>",
  "campaignId": "<integer>",
  "channelType": "<string>",
  "communicationType": "<string>",
  "communicationStep": "<string>",
  "startDateTime": "<dateTime>",
  "ownerId": "<integer>",
  "givingGoal": "<double>",
  "newGiverGoal": "<integer>",
  "internalCostEstimate": "<double>",
  "vendorCostEstimate": "<double>",
  "networkReach": "<integer>"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp Campaigns_createCommunication_example
using RestSharp;

var client = new RestClient("https://api.virtuoussoftware.com/api/Communication");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"name\": \"<string>\",\n  \"campaignId\": \"<integer>\",\n  \"channelType\": \"<string>\",\n  \"communicationType\": \"<string>\",\n  \"communicationStep\": \"<string>\",\n  \"startDateTime\": \"<dateTime>\",\n  \"ownerId\": \"<integer>\",\n  \"givingGoal\": \"<double>\",\n  \"newGiverGoal\": \"<integer>\",\n  \"internalCostEstimate\": \"<double>\",\n  \"vendorCostEstimate\": \"<double>\",\n  \"networkReach\": \"<integer>\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift Campaigns_createCommunication_example
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "name": "<string>",
  "campaignId": "<integer>",
  "channelType": "<string>",
  "communicationType": "<string>",
  "communicationStep": "<string>",
  "startDateTime": "<dateTime>",
  "ownerId": "<integer>",
  "givingGoal": "<double>",
  "newGiverGoal": "<integer>",
  "internalCostEstimate": "<double>",
  "vendorCostEstimate": "<double>",
  "networkReach": "<integer>"
] as [String : Any]

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

let request = NSMutableURLRequest(url: NSURL(string: "https://api.virtuoussoftware.com/api/Communication")! 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()
```