Javascript
import Finch from '@tryfinch/finch-api'; const client = new Finch({ accessToken: 'My Access Token', }); const automatedAsyncJob = await client.jobs.automated.retrieve('job_id'); console.log(automatedAsyncJob.job_id);
200
Example 1
{ "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "job_url": "https://api.tryfinch.com/job/automated/453bd7d7-5355-4d6d-a38e-d9e7eb218c3f", "type": "data_sync_all", "status": "complete", "created_at": "2019-08-24T14:15:22Z", "scheduled_at": "2019-08-24T14:15:22Z", "started_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z"}
Get an automated job by job_id.
job_id
Please use your Access Token
Header used to specify the version for a given API request. Current version is 2020-09-17.
Used to indicate the original media type of the resource
OK
The response is of type object.
object
Was this page helpful?