serverAdding a target audience to a task via API

Method for adding a CA to a task

add target audience

post

🇬🇧 Add target audience

🇷🇺 Добавить целевую аудиторию

🇺🇿 Maqsadli auditoriyani qo'shish

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
taskstringRequired

task_id

Example: 1827394658203x947362851049736284
targetstringRequired

phone, username, id (depending on the communication channel). For more than one, use "1111\n2222\n3333..."

Example: 79018510315
Responses
chevron-right
200Success

No content

post
/api/1.1/wf/add_target
200Success

No content

To get the task, in the section "Tasksarrow-up-right" copy the task ID; to do this click the button to the left of the desired task's name.

Last updated