Skip to main content
PUT
/
api
/
v1
/
vendors
/
{vendorId}
/
organizations
/
{organizationId}
/
sip
/
credentials
/
{sipCredentialsId}
/
phone-numbers
/
{phoneNumberId}
Update SIP Phone Number
curl --request PUT \
  --url https://app.deepslate.eu/api/v1/vendors/{vendorId}/organizations/{organizationId}/sip/credentials/{sipCredentialsId}/phone-numbers/{phoneNumberId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "phoneNumber": "0049123456789",
  "fallback": true
}
'
{
  "success": true,
  "timestamp": "2025-04-17T14:23:30Z",
  "message": "<string>",
  "data": {
    "id": "a46ccb36-3bd1-49e5-b36e-d1851c3a63ab",
    "phoneNumber": "0049123456789",
    "fallback": true
  },
  "traceId": "<string>"
}

Path Parameters

vendorId
string
required

ID of the Vendor (UUID)

organizationId
string
required

ID of the Organization (UUID)

sipCredentialsId
string
required

ID of the SIP Credentials (UUID)

phoneNumberId
string
required

ID of the Phone Number (UUID)

Body

application/json
phoneNumber
string
required

Phone number

Example:

"0049123456789"

fallback
boolean

Flag for fallback phone number

Example:

true

Response

Phone number updated successfully

Standard API response wrapper

success
boolean
required

Indicates if the request was successful

Example:

true

timestamp
string<date-time>
required

Response timestamp in ISO-8601 format

Example:

"2025-04-17T14:23:30Z"

message
string

Human-readable message

data
object

Payload data object

traceId
string

Correlation or trace ID