Auditmark

Trigger source sync

POST
/integrations/sources/{source_id}/sync

Run the board sync inline and return the COMPLETED run (counts + any error), so the UI gives an immediate, honest result instead of a queued-and-check-back flag. execute_source_sync never raises (it captures failures into the run + source status). The background worker still handles scheduled polls.

Authorization

OrgApiKey
AuthorizationBearer <token>

Organization API key. Send as Authorization: Bearer <key>. Create one in Admin > Settings > API keys.

In: header

Path Parameters

source_id*Source Id

Response Body

application/json

application/json

curl -X POST "https://api.auditmark.io/v1/integrations/sources/497f6eca-6276-4993-bfeb-53cbbbba6f08/sync"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9",  "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",  "directory_source_id": "817b0ecf-7cf1-4c97-924f-474ad38f3ea5",  "started_at": "2019-08-24T14:15:22Z",  "finished_at": "2019-08-24T14:15:22Z",  "created_count": 0,  "updated_count": 0,  "skipped_count": 0,  "errored_count": 0,  "error": null}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}