Change connection settings

PATCH
/ats/connections/{connectionId}

Requires ats:write and a live client-admin role.

Authorization

bearerAuth
headerAuthorizationBearer <token>

An API key from Settings > API access, sent as Authorization: Bearer sp_live_.... Send exactly one credential per request; a request carrying both a bearer token and a session cookie is rejected rather than resolved by precedence.

Path Parameters

connectionId*string

Request Body

application/json
  1. body
protectionTailDays?integer

Days after a person's last activity in the ATS during which they stay off outreach. Applied to everyone already synced at once.

Range0 <= value <= 730
logInterviewsEnabled?boolean
logScorecardsEnabled?boolean
syncStageMovesEnabled?boolean

Response Body

The updated connection.

application/json
  1. response
connection?

One ATS connection as the settings page shows it.

Example Request
curl -X PATCH 'https://app.superposition.ai/api/v1/ats/connections/string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "connection": {    "id": "string",    "integrationSlug": "string",    "integrationName": "string",    "status": "pending",    "protectionTailDays": 0,    "outreachPausedUntil": "2019-08-24T14:15:22Z",    "logInterviewsEnabled": true,    "logScorecardsEnabled": true,    "syncStageMovesEnabled": true,    "initialSyncCompletedAt": "2019-08-24T14:15:22Z"  }}

Last updated on