Authorizations
Path Parameters
The unique ID of the imported phone number to update.
Body
Updated friendly name for the number.
Updated SIP termination URI.
Updated SIP authentication username.
Updated SIP authentication password.
Response
Whether the request succeeded.
Human-readable status message.
The updated imported phone number record.
The imported phone number in E.164 format.
Telephony connection type.
Updated SIP termination URI.
ISO 8601 creation timestamp.
curl -X PUT https://api.ravan.ai/api/v1/phone-numbers/import/019d2a1b-4c5e-7f8a-9b0c-1d2e3f4a5b6c \
-H "X-Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Office Main Line - Updated",
"termination_uri": "sip:new-trunk@provider.com",
"sip_username": "newuser",
"sip_password": "newsecret"
}'
{
"success": true,
"message": "Imported number updated successfully",
"data": {
"id": "019d2a1b-4c5e-7f8a-9b0c-1d2e3f4a5b6c",
"phone": "+14155550100",
"type": "sip",
"name": "Office Main Line - Updated",
"termination_uri": "sip:new-trunk@provider.com",
"sip_username": "newuser",
"sip_password": "newsecret",
"status": "active",
"created_at": "2026-03-20T14:30:00Z"
}
}