v6

latestOpenAPI 3.1.02026-08-03265555.4 KB
Targets

Update Target Input Data

patch/api/v1/targets/{target_id}

Path parameters

target_idstring required

The ID of the target whose input_data to update.

The ID of the target whose input_data to update.

Request body

input_dataobject required

Fields to merge into the target's input_data. Only the keys present here are updated; existing keys not included are left unchanged.

only_if_not_startedboolean

When true (default), the edit is rejected with 409 if the target has already started executing — i.e. a call has been placed, or it has left the Pending/Scheduled staging states. A Scheduled target with no calls yet is still editable. Set false to edit regardless.

Response

Successful Response

idstring required
target_urlstring required
organization_idstring required
campaign_idstring required
created_atstring date-time required
execution_minutesinteger nullable required
input_dataobject required
output_dataobject required
status'Pending' | 'Scheduled' | 'In Progress' | 'Post-processing' | 'Finished' | 'Failed' | 'Waiting' | 'SMS Scheduled' required
call_log_idsinteger[] nullable required
last_call_datestring date-time nullable required
phone_numberstring nullable required
fax_linksstring[] nullable required
payor_api_dataobject nullable required
external_idstring nullable required
updated_atstring date-time nullable
retriesinteger nullable
scheduled_timestring date-time nullable
categorizationobject nullable
outcomestring nullable
statisticsobject nullable