Overview
Telecom Lookup Tools
Assign Numbers

Full Url

Arguments

  • token (required)
  • campaign_id (required)
  • numbers (required) (ex. ["3035551234", "2125551234"])

Info

This API method allows you to assign numbers to campaigns registered directly with TCR. The campaign must be submitted first using the Submit Campaign API call.

Example Success

1
{
2
code: 200,
3
status: "success",
4
data: [
5
{
6
order_id: "23288",
7
invalid_numbers: [1111111111,22222222222],
8
already_assigned: [523456767,723456767],
9
numbers_assigned: [623456767],
10
failed_to_assign: [753456767],
11
fail_reason: "853456767 already assigned to a campaign"
12
}
13
]
14
}
Copied!

Example Error

1
{
2
"code": 400,
3
"status": "error",
4
"data": "Invalid campaign id"
5
}
Copied!
Last modified 1mo ago