For the complete documentation index, see llms.txt. This page is also available as Markdown.

Jobs

Endpoints for listing, retrieving, downloading, and replaying partner jobs.

List Jobs

get

Returns a list of jobs based on creation date filters.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

Query parameters
CreatedAfterstring · dateOptional

Return jobs scheduled after this date (YYYY-MM-DD).

CreatedBeforestring · dateOptional

Return jobs scheduled before this date (YYYY-MM-DD).

Responses
200

A list of job objects.

application/json
get/Mediapartners/{AccountSID}/Jobs
curl
200

A list of job objects.

Retrieve Job Status

get

Returns an object describing the status of the queried job.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

JobIdstringRequired

The unique job identifier.

Responses
200

Current job status and details.

application/json
IdstringOptional

The unique identifier for this job.

Example: d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f
Typestring · enumOptional

The type of job.

Example: ClickExportPossible values:
ProgramIdstringOptional

The impact.com Program ID (CampaignId) this job was scheduled for.

Example: 3629
CreatedBystringOptional

The Account SID of the account that scheduled this job.

Example: <AccountSID>
CreatedDatestring · date-timeOptional

The date and time the job was initially scheduled.

Example: 2022-06-07T04:33:50-05:00
StartedDatestring · date-timeOptional

The date and time the job last started running.

Example: 2022-06-07T04:33:50-05:00
CompletedDatestring · date-timeOptional

The date and time the job was last successfully completed.

Example: 2022-06-07T04:33:50-05:00
AbandonedDatestring · date-timeOptional

Set when an attempt is made to start a job that is already running.

Example: 2022-06-07T04:33:50-05:00
CancelledDatestring · date-timeOptional

The date and time the job was last canceled.

Example: 2022-06-07T04:33:50-05:00
FailedDatestring · date-timeOptional

The date and time processing of this job last raised an error.

Example: 2022-06-07T04:33:50-05:00
LastProgressUpdateDatestring · date-timeOptional

The date and time progress on job processing was last updated.

Example: 2022-06-07T04:33:50-05:00
Statusstring · enumOptional

The current processing status of the job.

Example: COMPLETEDPossible values:
StatusMessagestringOptional

A human-readable message describing the current job status.

Example: Job processing completed successfully.
RecordsProcessedintegerOptional

The number of records processed up to the last progress update.

Example: 250
PercentageCompleteintegerOptional

The percentage of job processing that has been completed.

Example: 100
ReplayablebooleanOptional

Indicates whether this job type supports replay.

Example: true
ResultUristringOptional

API resource path to download the result file once the job is complete.

Example: /Mediapartners/<AccountSID>/Jobs/d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f/Download
get/Mediapartners/{AccountSID}/Jobs/{JobId}
curl
200

Current job status and details.

Download Job Results

get

Download the job result file if the job was completed successfully. If the job isn't done, the job status will be returned. A job result is available for download for 90 days.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

JobIdstringRequired

The unique job identifier.

Query parameters
Modestring · enumOptional

If set to Stream, the file is streamed directly instead of using a signed URL redirect.

Possible values:
Responses
200

Returns the job result file.

application/octet-stream
string · binaryOptional
get/Mediapartners/{AccountSID}/Jobs/{JobId}/Download
curl

Replay Job

put

Replay a completed job. Replays are intended for jobs with COMPLETED, FAILED, or CANCELLED status, or if additional results are expected for the chosen export window.

Authorizations
AuthorizationstringRequired

Use your AccountSID as the username and AuthToken as the password.

Path parameters
AccountSIDstringRequired

Unique identifier for the partner account.

JobIdstringRequired

The unique job identifier.

Responses
200

Job successfully queued for replay.

application/json
IdstringOptional

The unique identifier for this job.

Example: d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f
Typestring · enumOptional

The type of job.

Example: ClickExportPossible values:
ProgramIdstringOptional

The impact.com Program ID (CampaignId) this job was scheduled for.

Example: 3629
CreatedBystringOptional

The Account SID of the account that scheduled this job.

Example: <AccountSID>
CreatedDatestring · date-timeOptional

The date and time the job was initially scheduled.

Example: 2022-06-07T04:33:50-05:00
StartedDatestring · date-timeOptional

The date and time the job last started running.

Example: 2022-06-07T04:33:50-05:00
CompletedDatestring · date-timeOptional

The date and time the job was last successfully completed.

Example: 2022-06-07T04:33:50-05:00
AbandonedDatestring · date-timeOptional

Set when an attempt is made to start a job that is already running.

Example: 2022-06-07T04:33:50-05:00
CancelledDatestring · date-timeOptional

The date and time the job was last canceled.

Example: 2022-06-07T04:33:50-05:00
FailedDatestring · date-timeOptional

The date and time processing of this job last raised an error.

Example: 2022-06-07T04:33:50-05:00
LastProgressUpdateDatestring · date-timeOptional

The date and time progress on job processing was last updated.

Example: 2022-06-07T04:33:50-05:00
Statusstring · enumOptional

The current processing status of the job.

Example: COMPLETEDPossible values:
StatusMessagestringOptional

A human-readable message describing the current job status.

Example: Job processing completed successfully.
RecordsProcessedintegerOptional

The number of records processed up to the last progress update.

Example: 250
PercentageCompleteintegerOptional

The percentage of job processing that has been completed.

Example: 100
ReplayablebooleanOptional

Indicates whether this job type supports replay.

Example: true
ResultUristringOptional

API resource path to download the result file once the job is complete.

Example: /Mediapartners/<AccountSID>/Jobs/d8807a9f-a5ee-4e3f-ad2b-3dfd19d1915f/Download
put/Mediapartners/{AccountSID}/Jobs/{JobId}/Replay
curl

Last updated