channels.targets
Edit Channel Target
Changed onUpdate channel target by ID.
Stop running experiments and delete drafts on the target before changing its linked agent.
put/api/v1/channels/{channel_id}/targets/{target_id}
Request
- Base URLhttps://api.syllable.cloud
- URLhttps://api.syllable.cloud/api/v1/channels/{channel_id}/targets/{target_id}
- AuthAPI key in header Syllable-API-Key
Path parameters
channel_idinteger required
target_idinteger required
Target record ID, rather than a phone number
Request body
Example request
{
"agent_id": 1,
"channel_id": 1,
"target": "+19995551234",
"fallback_target": "+19995551235",
"is_test": true,
"id": 1
}Response
Successful Response
Changes
- info
added the optional property
to the response with the status
- info
- warning
for the
pathrequest parametertarget_id, the max was set to2147483647.00 - warning
for the
pathrequest parametertarget_id, the min was set to-2147483648.00
- warning