---
title: "Connect a team integration"
method: POST
path: "/integrations"
tags: ["Integrations"]
---

# Connect a team integration

`POST /integrations`

## Request

- Base URL: `https://api.session.services`
- URL: `https://api.session.services/integrations`
- Auth: API key in header `x-tenant-id`

## Request body

- object
  - `teamId` string, required: Unique team identifier
  - `provider` 'audience-republic', required: Integration provider.
  - `apiKey` string, required: Write-only shared provider API key.
  - `settings` object, required
    - `listName` string, required: Shared Audience Republic mailing list name for email and SMS.

## Response `200`

OK

- object: Team-owned integration sharing one provider account and mailing list across all promoters.
  - `id` string, required: Unique integration identifier
  - `teamId` string, required: Unique team identifier
  - `provider` 'audience-republic', required: Integration provider.
  - `enabled` boolean, required: Whether this integration is connected.
  - `configured` boolean, required: Whether an encrypted credential is stored. Credentials are never returned.
  - `revision` integer, required: Version required for conditional updates.
  - `activatedAt` string, date-time, required: Start of future-only team delivery for this connection.
  - `settings` object, required
    - `listName` string, required: Shared Audience Republic mailing list name for email and SMS.
  - `canManageTeam` boolean, required: Whether the caller may change credentials and the shared mailing list.
  - `tenantDestination` boolean, required: Whether tenant configuration references this integration for tenant-wide delivery.

## Other responses

- `400`: 400
- `401`: 401
- `403`: 403
- `404`: 404
- `409`: 409
- `412`: 412
- `422`: 422
- `429`: 429
- `500`: 500
- `501`: 501
- `502`: 502
- `503`: 503

## Changes

- **2026-11-09** `38649d1c1ac7`: 3 breaking, 2 warning, 2 info
  - the `apiKey` request property's minLength was increased from `0` to `1`
  - the `settings/listName` request property's minLength was increased from `0` to `1`
  - added the pattern `^tem_[0-9a-z]{26}$` to the request property `teamId`
  - the `apiKey` request property's maxLength was set to `4096`
  - …3 more
- **2026-11-09** `24b4e38e7054`: 4 breaking, 5 info
  - the `settings/listName` response property's maxLength was unset from `200` for the response status `200`
  - the `settings/listName` response property's minLength was decreased from `1` to `0` for the response status `200`
  - the `activatedAt` response's property format changed from `date-time` to no format for status `200`
  - the `revision` response's property type changed from `integer` to `number` for status `200`
  - …5 more
- **2026-09-15** `8e993fda1d91`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/session/apis/session-services-api/changes/integrations/post.md)

---

[API](https://skmtc.dev/session/apis/session-services-api.md) - [All operations](https://skmtc.dev/session/apis/session-services-api/llms.txt) - [OpenAPI document](https://skmtc.dev/session/apis/session-services-api/revisions/9346dc3eea56?raw)
