Create a request to qualify a batch of numbers. After you have submitted the request, you must send an email to orders@sinch.com attaching all of the invoices related to the phone numbers in the request. In most cases, it will take the Sinch team 1-3 days to review your documentation and qualify your numbers.
Security
Basic or OAuth2.0
Found on your Sinch Customer Dashboard. Settings > Projects.
Example:d1923022-5199-4bb3-a513-c47b3a656bc5
- Global APIhttps://imported.numbers.api.sinch.com/v1/projects/{projectId}/qualifiedNumbers:addNumbers
library(httr)
body = '{
"phoneNumbers": [
"+12345612345"
]
}'
project_id = "d1923022-5199-4bb3-a513-c47b3a656bc5"
# create you own operator
"%&%" <- function(x, y)paste0(x,y)
url = "https://imported.numbers.api.sinch.com/v1/projects/" %&% project_id %&% "/qualifiedNumbers:addNumbers"
data_req <- POST(
url,
authenticate("<username>", "<password>")
add_headers("Content-Type" = "application/json"),
body = body,
encode = "json",
verbose()
)
content(data_req)Response
{ "qualifiedNumbers": [ { … } ] }