Integrations

Update the shared integration settings

Changed on
patch/integrations/{id}

Request

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

Path parameters

id, string required

Unique integration identifier

Request body

object required
revision, integer required
apiKey, string

Replace the shared key. Omit to retain it; required to reconnect.

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

      added the pattern ^int_[0-9a-z]{26}$ to the path request parameter id

    • 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

    8 more changes in this revision