Check whether a contact is known on a line
GET/api/v2/lines/contact-status
Check whether a contact is known or new on one of your Sendblue lines. The result uses the same message history and inactivity window as new-contact limits. Incoming messages and outgoing messages accepted for sending count as activity; rejected requests do not. A saved contact is not required, and activity on another line or account does not count.
The lookup does not reserve capacity. Other sending rules still apply. Line-scoped temporary tokens can query only the lines they allow. Only number and sendblue_number query parameters are accepted.
Check whether a contact is known on a line
curl https://api.sendblue.co/api/v2/lines/contact-status \
-H "sb-api-key-id: $SENDBLUE_API_API_KEY" \
-H "sb-api-secret-key: $SENDBLUE_API_API_SECRET"{
"classification": "known",
"known_contact": true,
"new_contact_lookback_days": 30,
"number": "+14155550200",
"sampled_at": "2026-10-06T19:00:00.000Z",
"sendblue_number": "+14155550100",
"status": "OK"
}Returns Examples
{
"classification": "known",
"known_contact": true,
"new_contact_lookback_days": 30,
"number": "+14155550200",
"sampled_at": "2026-10-06T19:00:00.000Z",
"sendblue_number": "+14155550100",
"status": "OK"
}