Gamma API
ProjectsIntegrations

Sync now

POST
/api/projects/{projectId}/integrations/{id}/sync

Its incremental run, now: what changed since the checkpoints, not every record. The run queued for later is moved up, or one is queued; answers it, or the one already running. 409 while paused.

Who may call it: Whoever manages the project: an owner, security admin or admin of its organization, or an admin of the project. API keys: no.

Authorization

session
cookiegamma.session_token<token>

The session cookie a sign-in sets. Over HTTPS its name carries the __Host- prefix. Browsers send it on their own; other clients keep it from the sign-in response.

Path Parameters

projectId*string

The project's id.

id*string

Response Body

OK.

application/json
  1. response
job*
Example Request
curl -X POST 'http://localhost:3000/api/projects/string/integrations/string/sync'
Example Response
{  "job": {    "id": "string",    "status": "queued",    "runAt": "string"  }}