Skip to main content
POST
Bulk Availability Check Endpoint

Endpoint

  • Method: POST
  • Path: /api/leads/check-availability
This endpoint lets you check iMessage availability for multiple leads at once, or for a single arbitrary address, using the same logic Tuco uses internally.

Check a Single Address (Quick Check)

Use this form to check one phone number or email address without creating a lead.
The address field must be a non-empty string. Sending { "address": "" } will not work — the empty string is ignored and Tuco falls through to the bulk leads path, which will likely return a 404 if you haven’t provided leadIds or listId.
Response

Bulk Check by Lead IDs

Provide a list of lead IDs in the current workspace. Tuco will:
  • Mark each lead as availabilityStatus: "available", "unavailable", or "error".
  • Return a summary of how many checks succeeded or failed.
Response (synchronous small batch)
For larger batches, Tuco automatically offloads work to a background job and responds with:
You can safely trigger this endpoint from your backend and then rely on the updated availabilityStatus field on each lead for downstream decisions (for example, whether to enroll a lead in an iMessage campaign or to prefer SMS/email).