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

# Customer.io

Supports:
* ✅ Model sync destination


## Connection

### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>app_api_key</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">App API key</td>
<td><code>required</code></td>
</tr>
<tr>
<td><code>site_id</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Site ID</td>
<td><code>required</code></td>
</tr>
<tr>
<td><code>tracking_api_key</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Tracking API key</td>
<td><code>required</code></td>
</tr>
</tbody>
</table>

<table>
<thead>
<tr>
<th>Read-only property</th><th>Type</th><th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>region</code></td>
<td><code>string</code></td>
<td style="vertical-align: top;">Region<br/><br/>Datacenter region we detected</td>
</tr>
</tbody>
</table>


#### Example

```json
{
  "name": "Customer.io connection",
  "type": "customerio",
  "configuration": {
    "app_api_key": "7f81wos4eeua0kap5dabridfwgd1uh",
    "site_id": "osh853chlrhick8w7qyz",
    "tracking_api_key": "a7l1nkxqhnwa48h94vbmsly1a2pnss"
  }
}
```


## Model Sync
### Target
Customer.io connections may be used as the destination in a model sync.
#### All targets

##### Configuration
<table>
<thead>
<tr>
<th>Name</th><th>Type</th><th>Description</th><th>Required</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>ignore_setting_invalid_relationships</code></td>
<td><code>boolean</code></td>
<td style="vertical-align: top;">Ignore setting invalid relationships</td>
<td><code>optional</code></td>
</tr>
<tr>
<td><code>replace_relationships</code></td>
<td><code>boolean</code></td>
<td style="vertical-align: top;">Replace existing relationships</td>
<td><code>optional</code></td>
</tr>
</tbody>
</table>


##### Example
```json
{
  ...
  "target": {
      "configuration": {
        "ignore_setting_invalid_relationships": false,
        "replace_relationships": false
    }
  }
}
```






### Target creation

Customer.io connections may be used to create a new target for a model sync. The
following parameters are required to create a new target:

<table>
<thead>
<tr>
  <th>NAME</th>
  <th>DESCRIPTION</th>
  <th>ENUM</th>
</tr></thead>
<tbody>
<tr>
  <td>name</td>
  <td>Segment name</td>
  <td>false</td>
</tr>

</tbody>
</table>