Adding target audience to a task via API

Method for adding TA to the task

POST https://selarti.com/api/1.1/wf/add_target
Content-Type: application/json
BODY
{
    "task": "your_task_id",
    "target": "79999999999"
}

Method in CURL format

curl --location 'https://selarti.com/api/1.1/wf/add_target' \
--header 'Content-Type: application/json' \
--data '{
    "task": "1722582429077x220873680210362370",
    "target": "79505415812"
}'

To get the task, in the "Tasks" section, copy the task ID by clicking the button to the left of the desired task's name.

Last updated