Skip to Content
Docs

Trigger an immediate sync for a source

POST
/api/sync_source

Trigger an immediate sync for a source.

Personal access token scope: sources:write.

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
source_id*string

Source ID

Response Body

Success

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