Skip to main content
POST
/
gmail-connections
/
{id}
/
candidates
/
import
Import selected Gmail candidates
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({candidateIds: ['3c90c3cc-0d44-4b50-8888-8dd25736052a']})
};

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

Path Parameters

id
string<uuid>
required

Body

application/json
candidateIds
string<uuid>[]

Response

Accepted

jobId
string<uuid>
required
candidateIds
string<uuid>[]
required