Skip to main content
POST
/
gmail-connections
/
{id}
/
sync
Trigger a Gmail sync
const options = {method: 'POST'};

fetch('https://api.dolfinai.co/gmail-connections/{id}/sync', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "jobId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Path Parameters

id
string<uuid>
required

Response

Accepted

jobId
string<uuid>
required