Bulk update lead priority

POST https://api.tamio.com/v2/leads/bulk/change-priority

Updates the priority level for multiple leads simultaneously. Useful for adjusting lead priorities based on changing business needs. Maximum 50 leads per operation.

Body Parameters

leads array of string*

Array of lead UUIDs to update

priority string*

New priority level to apply to all specified leads

lownormalmediumhigh

Responses

200 Lead priorities updated successfully

Lead priorities updated successfully

status integer
ids array of string

UUIDs of the updated leads

400 Bad request. Possible `error_code` values:
401 Missing or invalid API key
/leads/bulk/change-priority
1const response = await fetch("https://api.tamio.com/v2/leads/bulk/change-priority", {
2 method: "POST",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 // ... request body
9 })
10});
11const data = await response.json();
Responses
{
  "status": 200,
  "ids": []
}