Integrations

Connect a team integration

Changed on
post/integrations

Request

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

Request body

object required
teamId, string required

Unique team identifier

provider, 'audience-republic' required

Integration provider.

apiKey, string required

Write-only shared provider API key.

settings, object required

Response

OK

object required

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
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.

Changes

    • breaking

      the apiKey request property's minLength was increased from 0 to 1

    • breaking

      the settings/listName request property's minLength was increased from 0 to 1

    • breaking

      added the pattern ^tem_[0-9a-z]{26}$ to the request property teamId

    4 more changes in this revision