/v1/accounts/{accountId}/campaigns/{campaignId}/numbersReturns the numbers of a campaign, optionally filtered and sorted. Deleted numbers are not included: use the number details report to get them.
ID of your SIP Caller account. See Account ID.
ID of the campaign.
Conditions that the records must match, such as {"name":"sales"}. See the Filter fields below, and Filter for the syntax.
Field and direction used to sort the records, such as ["id","DESC"]. Defaults to ["id","ASC"]. See Sort.
Zero-based positions of the first and last records to return, both included, such as [0,99]. Defaults to [0,9]. See Pagination.
Fields that can be used in the filter query parameter. See Filter for the general syntax.
Numbers that contain the text, which allows partial lookups.
{"number":"555100"}Numbers whose variable contains the text (case-insensitive). The key is $ followed by the position of the variable, starting at 1.
{"varValues":{"$1":"robertson"}}_gt_gte_lt_lteNumbers by number of attempts.
{"attempts_gt":1}Numbers in the given status. Use an array for several statuses.
NotContactedContactingSuccessFailureRetryPendingBlacklisted{"status":["NotContacted","RetryPending"]}Fields that can be used in the sort query parameter, in ascending (ASC) or descending (DESC) order. See Sort for the general syntax. When sort is omitted, results are sorted by id in ascending order.
idnumberaddedAtattemptsReturns an array of campaign number objects for the requested page. The X-Total-Count and Content-Range headers contain the total number of records matching the filter, for example Content-Range: campaignNumbers 0-9/57. See Pagination.
/v1/accounts/ACCOUNT_ID/campaigns/CAMPAIGN_ID/numbers
curl -G 'https://api.sipcaller.com/v1/accounts/ACCOUNT_ID/campaigns/CAMPAIGN_ID/numbers' \
-H 'Authorization: Bearer API_KEY_TOKEN' \
--data-urlencode 'filter={"status":["RetryPending","Success"]}' \
--data-urlencode 'sort=["number","ASC"]' \
--data-urlencode 'range=[0,99]'Response
200 OK
[
{
"id": 1048165,
"number": "+18035551004",
"varValues": [
"Stefan Robertson",
"$99.00"
],
"addedAtLocal": "2026-10-01T10:05:23.452",
"attempts": 1,
"status": "RetryPending"
},
{
"id": 1048166,
"number": "+18035551005",
"varValues": [
"Millie Watson",
"$118.49"
],
"addedAtLocal": "2026-10-01T10:05:23.452",
"attempts": 1,
"status": "Success"
}
]