Skip to main content
GET
SmartServers API: Dedicated IP infrastructure feature. Contact support@smartlead.ai for access.

Overview

Returns the active dedicated IPs on the Single SmartInfra tab of your dashboard. Use the id of a server as the server_id when assigning it to campaigns. Pass withCampaignData=true to also get, for each server, how many campaigns use it, which campaigns those are, and the client it belongs to.
Servers that belong to a Multi SmartInfra are not listed here. Assign those through their infra_id instead.

Query Parameters

string
Your SmartLead API key. Or send it as an X-API-Key or Authorization: Bearer header instead (see Authentication).
string
Set to true to include campaignCount, campaigns, client_details and region_name for each server
string
Set to true to return only servers that are not assigned to any campaign or client. Takes precedence over withCampaignData.
number
Optional. Return at most this many servers, from 1 to 100. When you pass limit or offset, servers are sorted by id (ascending) so pages are stable, and the response includes a pagination object.
number
default:"0"
Optional. Number of servers to skip (0 or more). offset without limit returns every server after the offset.
Leave out both limit and offset to get the full list exactly as before, with no pagination object. The same two parameters work on GET /smart-server/all/client/{client_id}.

Response Fields

array
One entry per server
object
Only when the request passed limit or offset.

Response Codes

Success
Servers returned. An account with no servers returns an empty data array.
Bad Request
limit is not a whole number from 1 to 100, or offset is not a whole number of 0 or more
Unauthorized
Invalid or missing API key. Check your authentication.