Api referenceSms
Update Phone Number
Authorization
apiKey X-API-Key<token>
API key for authentication
In: header
Path Parameters
id*string
Phone number ID
Format
uuidRequest Body
application/json
friendlyName?string
Display name for the number
routingTags?array<string>
Routing tags for intelligent selection
isDefault?boolean
Set as default number for org
Response Body
application/json
curl -X PATCH "https://samva.app/api/v1/sms/phone-numbers/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"phoneNumber": "string",
"friendlyName": "string",
"isDefault": true,
"routingTags": [
"string"
]
}