POST /v2/number/search/ found, send its number. To buy a random number, sendcountry_code and capabilities, and the API picks one. Most features also need atarget_number.Authorization: ********************{
"country_code": "27",
"capabilities": [
"voice"
],
"target_number": [
"27820001234"
]
}curl --location 'https://api.sudonum.com/v2/number/' \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"country_code": "27",
"capabilities": [
"voice"
],
"target_number": [
"27820001234"
]
}'{
"name": null,
"number": "27710000001",
"country": "ZA",
"capabilities": [
"VOICE"
],
"target_number_clid": null,
"sumi_config": null,
"show_insights_in_app": false,
"sumi_agent_config": null,
"routing_config": null,
"sip_agent": null,
"issued_date": "2026-07-20T09:00:00Z",
"billing_anniversary": "2026-08-19T09:00:00Z",
"last_called": null,
"target_number": "27820001234",
"webhooks": [],
"third_party_integrations": [],
"meta": {},
"features": [],
"tts": null,
"whisper_file": null,
"call_tracking": null,
"record_call_file": null,
"keep_number_file": null,
"voicemail_lite_file": null,
"capture_digits_file": null,
"keywords": null,
"ivr_menu": null
}