# Registering interactions with UI in Adobe XD

**URL:** <https://forums.creativeclouddeveloper.com/t/registering-interactions-with-ui-in-adobe-xd/3878>\
**Category:** UXP Plugin API\
**Created:** [November 11, 2021, 12:23am UTC](https://forums.creativeclouddeveloper.com/t/registering-interactions-with-ui-in-adobe-xd/3878 "2021-11-11T00:23:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gt25](https://avatars.discourse-cdn.com/v4/letter/g/e0b2c6/32.png) [@gt25](https://forums.creativeclouddeveloper.com/u/gt25)\
**Post date:** [November 11, 2021, 12:23am UTC](https://forums.creativeclouddeveloper.com/t/registering-interactions-with-ui-in-adobe-xd/3878/1 "2021-11-11T00:23:54Z")

</div>

Is there a way to register an interaction within a Adobe XD document?

For example if a user presses a button, can we send a response to an external server notifying that that event happened?

Reading the Adobe XD plugin documents it seems that most API’s are used for read only.

Any help appreciated and maybe pointers on what’s needed (websockets etc)

---

<div class="post-metadata">

**Author:** ![DavidXD](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/davidxd/32/909_2.png) [@DavidXD](https://forums.creativeclouddeveloper.com/u/DavidXD)\
**Post date:** [November 15, 2021, 8:17pm UTC](https://forums.creativeclouddeveloper.com/t/registering-interactions-with-ui-in-adobe-xd/3878/2 "2021-11-15T20:17:17Z")

</div>

Yes, XD plugins can make external network requests using Web standards:  
[https://www.adobe.io/xd/uxp/develop/reference/uxp/network-index/](https://www.adobe.io/xd/uxp/develop/reference/uxp/network-index/)  
Here is an example plugin to illustrate:

> **[plugin-samples/how-to-make-network-requests at master · AdobeXD/plugin-samples](https://github.com/AdobeXD/plugin-samples/tree/master/how-to-make-network-requests)**
>
> master/how-to-make-network-requests

As to how to trigger network calls, plugins can respond to a variety of events in the plugin’s panel, including clicking a button:  
[https://www.adobe.io/xd/uxp/develop/reference/uxp/events-index/#click](https://www.adobe.io/xd/uxp/develop/reference/uxp/events-index/#click)  
Additionally there is an update() callback that triggers whenever the user makes a change to the document:  
[https://www.adobe.io/xd/uxp/develop/reference/ui/panels/update/](https://www.adobe.io/xd/uxp/develop/reference/ui/panels/update/)
