Get live line usage and capacity
GET/api/v2/lines/usage
Get each line’s hourly and daily new-contact usage, limits, remaining capacity, and when capacity becomes available again. Includes your account’s phone lines and old lines still available during a replacement grace period. The hourly window is a rolling 60 minutes; daily usage resets at 3 AM ET (America/New_York). Counts apply to new contacts you message, rather than contacts you add to your account. Dashboard messages and automations use the same limits.
Requests do not reserve capacity. Recovery times assume no further sends. This endpoint accepts no query parameters. Use API credentials or an account-scoped temporary token.
Get live line usage and capacity
curl https://api.sendblue.co/api/v2/lines/usage \
-H "sb-api-key-id: $SENDBLUE_API_API_KEY" \
-H "sb-api-secret-key: $SENDBLUE_API_API_SECRET"{
"enabled": true,
"lines": [
{
"availableAt": null,
"daily": {
"limit": 50,
"nextSlotAt": "2026-10-07T07:00:00.000Z",
"remaining": 19,
"used": 31,
"resetsAt": "2026-10-07T07:00:00.000Z"
},
"hourly": {
"limit": 15,
"nextSlotAt": "2026-10-06T17:06:00.000Z",
"remaining": 7,
"used": 8
},
"phone": "+15550100001",
"sampledAt": "2026-10-06T17:00:00.000Z",
"state": "available",
"newContactLookbackDays": 30
}
],
"status": "OK"
}Returns Examples
{
"enabled": true,
"lines": [
{
"availableAt": null,
"daily": {
"limit": 50,
"nextSlotAt": "2026-10-07T07:00:00.000Z",
"remaining": 19,
"used": 31,
"resetsAt": "2026-10-07T07:00:00.000Z"
},
"hourly": {
"limit": 15,
"nextSlotAt": "2026-10-06T17:06:00.000Z",
"remaining": 7,
"used": 8
},
"phone": "+15550100001",
"sampledAt": "2026-10-06T17:00:00.000Z",
"state": "available",
"newContactLookbackDays": 30
}
],
"status": "OK"
}