Skip to Content
Docs

Sync connector source to check for modifications

POST
/api/connectors/sync

Sync connector source to check for modifications. A 409 with code connection_missing when the source has no connection (it was removed) and none is named, as for a team editor, who can't name one; code reconnect_needed when a team editor's sync finds the source's connection signed out.

Not available to personal access tokens; call it from a signed-in session.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Request Body

application/json
  1. body
connection_id?string

Connection to sync with; defaults to the source's own (ignored for team editors, whose sync always uses the source's own connection)

session_token?string

Legacy; use connection_id

source_id*string

Source ID to sync

Response Body

Success

Example Request
curl -X POST 'http://localhost:7091/api/connectors/sync' \  -H 'Content-Type: application/json' \  -d '{  "source_id": "string"}'
Example Response200
Empty