Bulk update lead status

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

Updates the qualification status for multiple leads simultaneously. Essential for managing lead progression through sales stages. Maximum 50 leads per operation.

Body Parameters

leads array of string*

Array of lead UUIDs to update

lead_status string*

New status to apply to all specified leads

new_leadqualifiedunqualifiedcontactedfollowupattempt_to_contact

Responses

200 Lead statuses updated successfully

Lead statuses 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-status
1const response = await fetch("https://api.tamio.com/v2/leads/bulk/change-status", {
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": []
}