# Virtual Button Press with API

**URL:** <https://forums.losant.com/t/virtual-button-press-with-api/1079>\
**Category:** Help\
**Created:** [August 20, 2018, 1:01pm UTC](https://forums.losant.com/t/virtual-button-press-with-api/1079 "2018-08-20T13:01:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sreyams\_Jain1](https://avatars.discourse-cdn.com/v4/letter/s/b5e925/32.png) [@Sreyams\_Jain1](https://forums.losant.com/u/Sreyams_Jain1)\
**Post date:** [August 20, 2018, 1:01pm UTC](https://forums.losant.com/t/virtual-button-press-with-api/1079/1 "2018-08-20T13:01:01Z")

</div>

I am trying to invoke a virtual button press via API and keep getting 403 error - Access is forbidden. I have the key value inputted that is from the trigger\_id of the virtual button and have the Authorization as Bearer with my api access token. Payload is also sent.

Virtual button press in the workflow works just fine, the issue is with the API usage.

I have tried deleting the existing API token, created a new one to use. The issue is the same.

Is there a problem with the token that is generated for use?

---

<div class="post-metadata">

**Author:** ![Michael\_Kuehl](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/michael_kuehl/32/99_2.png) [@Michael\_Kuehl](https://forums.losant.com/u/Michael_Kuehl)\
**Post date:** [August 20, 2018, 1:11pm UTC](https://forums.losant.com/t/virtual-button-press-with-api/1079/2 "2018-08-20T13:11:10Z")

</div>

FYI I responded to your [other](https://forums.losant.com/t/virtual-button-press-api/1077/4) post instead.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [August 20, 2018, 1:11pm UTC](https://forums.losant.com/t/virtual-button-press-with-api/1079/3 "2018-08-20T13:11:38Z")

</div>

Closed on August 20, 2018, 1:11pm UTC


