serverAdding target audience to a task via API

Method for adding TA to the 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
post
/api/1.1/wf/add_target
200Success

No content

To get the task, in the «Tasksarrow-up-right» section, copy the task ID by clicking the button to the left of the desired task's name.

Last updated