The rule
A contact stays on one line. Tuco picks a line only for the first message to someone you have never texted. Every message after that goes from the same line, so the contact always sees the same name and number.
“Your last message with this contact” includes a message that is still waiting to go. Two messages you send
back to back to a new contact go from the same line.
When the contact’s line can’t send
If every line in your workspace is off, the send is rejected with
400 No active lines in workspace.
Choosing a line yourself
PassfromLineId when you want a specific line, for example a rep’s own line. Tuco uses it as given and never
moves the message to another line. Once that message is sent, it becomes the contact’s line for later sends
without fromLineId.
You get the line back in two places, so you can store it if you need to:
- the
fromLineIdfield of the Send Message response - the
fromLineIdfield of every reply webhook: the line the contact replied to