Skip to main content
POST
/
gmail-connections
/
{id}
/
backfill
Start a Gmail backfill
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({since: '2023-11-07T05:31:56Z', until: '2023-11-07T05:31:56Z'})
};

fetch('https://api.dolfinai.co/gmail-connections/{id}/backfill', 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

Body

application/json
since
null | string<date-time>
until
null | string<date-time>

Response

Accepted

jobId
string<uuid>
required