curl --request GET \
--url https://app.tuco.ai/api/lines/by-user \
--header 'Authorization: Bearer <token>'{
"lines": [
{
"_id": "699f704bc405fae6ca299a08",
"workspaceId": "org_3ABCDbdGyF6w99hikyVN4cmo6H0",
"phone": "+16462230920",
"email": "goforlisa@icloud.com",
"firstName": "Lindsey",
"lastName": "Rodriguez",
"isActive": true,
"provisioningStatus": "active",
"lineType": "byon",
"dailyNewConversationsLimit": 20,
"dailyTotalMessagesLimit": 50,
"usage": {
"date": "2026-03-01",
"newConversationsCount": 4,
"totalMessagesCount": 11
},
"healthCheck": {
"status": "healthy",
"lastCheckedAt": "2026-03-01T20:52:00.097Z"
},
"createdAt": "2026-02-25T21:57:31.276Z",
"updatedAt": "2026-03-01T20:52:04.622Z"
}
]
}Returns all lines for the authenticated workspace with usage and health.
curl --request GET \
--url https://app.tuco.ai/api/lines/by-user \
--header 'Authorization: Bearer <token>'{
"lines": [
{
"_id": "699f704bc405fae6ca299a08",
"workspaceId": "org_3ABCDbdGyF6w99hikyVN4cmo6H0",
"phone": "+16462230920",
"email": "goforlisa@icloud.com",
"firstName": "Lindsey",
"lastName": "Rodriguez",
"isActive": true,
"provisioningStatus": "active",
"lineType": "byon",
"dailyNewConversationsLimit": 20,
"dailyTotalMessagesLimit": 50,
"usage": {
"date": "2026-03-01",
"newConversationsCount": 4,
"totalMessagesCount": 11
},
"healthCheck": {
"status": "healthy",
"lastCheckedAt": "2026-03-01T20:52:00.097Z"
},
"createdAt": "2026-02-25T21:57:31.276Z",
"updatedAt": "2026-03-01T20:52:04.622Z"
}
]
}