Skip to main content
POST
Assign selected leads to a sales rep

Yetkilendirmeler

Authorization
string
header
gerekli

The access token received from the authorization server in the OAuth 2.0 flow.

Başlıklar

X-Tenant
number
gerekli

Tenant identifier. Send the Tenant ID in the X-Tenant header to scope API requests to a specific tenant.

Gövde

application/json
lead_ids
integer[]
gerekli

The IDs of the leads to assign.

Minimum array length: 1

A lead ID to assign.

assignment_type
enum<string>
gerekli

How to pick the assignee: a specific salesperson, or automatic least-busy distribution.

Mevcut seçenekler:
specific,
auto
assigned_user_id
integer

The user to assign the leads to. Required for specific assignment; must be able to see leads in this tenant.

task_action
enum<string>

How to handle each lead's open records on reassignment: transfer, close, or keep.

Mevcut seçenekler:
transfer,
close,
keep

Yanıt

success
string
gerekli
data
object
gerekli