First-request guide for Job status.
Overview
Use this endpoint to retrieve the current status and relevant details of a specific data import job. The job is identified by the unique path parameter {id} that was returned when the job was initially created.
Quickstart
Follow these two steps to make a request and recognize a successful response.
Make a request
curl --request GET \
--url https://uapi.demandbase.com/import/v1/job/1 \
--header "Authorization: Bearer $DB_API_KEY" \
--header "Accept: application/json"Read the response
{
"id": 67849,
"dataImportName": "EMEA accounts import",
"entityType": "Account",
"state": "completed",
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T17:53:11Z"
}Request anatomy
Build the request from the method, path, parameters, and payload described below.
Parameters
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
id | path | integer (int64) | Required |
Request body
This endpoint does not define a JSON request body.
Response anatomy
The endpoint returns 200 for the documented success case. The response body contains the comprehensive details of the job's current status and metadata.
The response schema does not enumerate fields; inspect the example response and status code.
Rules
- Use
GETwith the path/job/{id}. - Required inputs: id.
- Authenticate every request with a valid Demandbase access token.
- This endpoint does not require a JSON request body.
Filters
The published schema exposes the following endpoint inputs. Use the location column to place each value correctly.
| Name | Location | Type | Required | Description |
|---|---|---|---|---|
id | path | integer (int64) | Required |
Errors
Handle non-success responses explicitly so your integration can report actionable failures.
| Status | Meaning |
|---|---|
400 | Bad Request Error |
401 | Returned if the authentication credentials are missing or invalid. |
403 | Returned if the authenticated user lacks the "Import Data" permission |
404 | Returned if the referenced job is not found |
500 | Internal Server Error |