From c9d157bbf10b77f5ec64c45ee3f7072c0055f593 Mon Sep 17 00:00:00 2001 From: "revanth.p" Date: Mon, 27 Jul 2026 17:44:52 +0530 Subject: [PATCH 1/2] feat: add internal flag to Endpoint create params (VT-9534) Adds an optional internal kwarg to Endpoints.create so callers can mark newly created SIP endpoints as internal at creation time. Enables Plivo CX (Contacto) to flag auto-created browser-SDK endpoints so the Endpoint listing API's existing internal filter can hide them from customer consoles. Backwards-compatible: internal defaults to None and is dropped by to_param_dict, so existing callers see identical wire behavior. Only callers that explicitly pass internal=True opt into the new path. --- plivo/resources/endpoints.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plivo/resources/endpoints.py b/plivo/resources/endpoints.py index 72557c00..5ec8e473 100644 --- a/plivo/resources/endpoints.py +++ b/plivo/resources/endpoints.py @@ -32,8 +32,9 @@ class Endpoints(PlivoResourceInterface): app_id=[optional(of_type(six.text_type))], callback_url=[optional(is_url())], callback_method=[optional(of_type(six.text_type))], + internal=[optional(of_type(bool))], ) - def create(self, username, password, alias, app_id=None, callback_url=None, callback_method=None): + def create(self, username, password, alias, app_id=None, callback_url=None, callback_method=None, internal=None): return self.client.request('POST', ('Endpoint', ), to_param_dict(self.create, locals()), is_voice_request=True) From 62a0d81d4e8fcc3821264a3377a101c323158b38 Mon Sep 17 00:00:00 2001 From: "revanth.p" Date: Mon, 27 Jul 2026 17:45:24 +0530 Subject: [PATCH 2/2] chore: bump version to 4.62.1 and update changelog --- CHANGELOG.md | 4 ++++ plivo/version.py | 2 +- setup.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83ac2169..1b972a7f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ # Change Log +## [4.62.1](https://github.com/plivo/plivo-python/tree/v4.62.1) (2026-07-27) +**Feature - Internal flag support on Endpoint create** +- Added `internal` optional parameter to Endpoint `create` method to mark newly created SIP endpoints as internal at creation time + ## [4.61.0](https://github.com/plivo/plivo-python/tree/v4.61.0) (2026-06-11) **Feature - PhoneNumber buy compliance application support** - Added optional `compliance_application_id` parameter to `numbers.buy()`, sent as the `compliance_application_id` wire param. Lets regulated numbers (e.g. India) be purchased with an approved regulatory compliance application linked at purchase time. Backward-compatible trailing optional argument. diff --git a/plivo/version.py b/plivo/version.py index be3e91c2..9ae573d1 100644 --- a/plivo/version.py +++ b/plivo/version.py @@ -1,2 +1,2 @@ # -*- coding: utf-8 -*- -__version__ = '4.61.0' +__version__ = '4.62.1' diff --git a/setup.py b/setup.py index 18f23075..5b401aa8 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( name='plivo', - version='4.61.0', + version='4.62.1', description='A Python SDK to make voice calls & send SMS using Plivo and to generate Plivo XML', long_description=long_description, url='https://github.com/plivo/plivo-python',