Retrieve the status of job execution.
resource_id and resource_url are returned only once status is success. While the job is pending or failed both keys are left out of the response rather than returned as null.
Requires the read_jobs OAuth scope.
Intercom API version.
If you omit the header, the API uses the version set in your app package, and 1.0 if none is set.
- The production API serverhttps://api.intercom.io/jobs/status/{job_id}
- The european API serverhttps://api.eu.intercom.io/jobs/status/{job_id}
- The australian API serverhttps://api.au.intercom.io/jobs/status/{job_id}
curl -i -X GET \
'https://api.intercom.io/jobs/status/{job_id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Intercom-Version: 2.18'Job execution status
Jobs are tasks that are processed asynchronously by the Intercom system after being enqueued via the API. This allows for efficient handling of operations that may take time to complete, such as data imports or exports. You can check the status of your jobs to monitor their progress and ensure they are completed successfully.
The id of the resource created during job execution (e.g. ticket id). Only set once the job has succeeded.
{ "type": "job", "id": "2", "url": "https://api.intercom.io/jobs/status/2", "status": "success", "resource_type": "ticket", "resource_id": "20", "resource_url": "https://api.intercom.io/tickets/20" }