# OPC Connection Endpoint URL

**URL:** <https://forum.inductiveautomation.com/t/opc-connection-endpoint-url/79221>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [September 15, 2023, 3:49pm UTC](https://forum.inductiveautomation.com/t/opc-connection-endpoint-url/79221 "2023-09-15T15:49:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muhammad\_Saim](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@Muhammad\_Saim](https://forum.inductiveautomation.com/u/Muhammad_Saim)\
**Post date:** [September 15, 2023, 3:49pm UTC](https://forum.inductiveautomation.com/t/opc-connection-endpoint-url/79221/1 "2023-09-15T15:49:23Z")

</div>

Hello

I don't seem to see a way to get OPC connection endpoint URLs through scripting. We want to automate the process of swapping OPC endpoint URLs.

Thank you

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 15, 2023, 4:01pm UTC](https://forum.inductiveautomation.com/t/opc-connection-endpoint-url/79221/2 "2023-09-15T16:01:22Z")

</div>

It's not available by scripting, for retrieval or modification.

Modifying an OPC connection, especially the endpoint is a relatively heavy operation. Changing the URL means you're changing the server you're connected to, which you shouldn't necessarily expect to succeed without user interaction to review and accept certificates.
