# Zoom api getting response - Invalid access token

**URL:** <https://devforum.zoom.us/t/zoom-api-getting-response-invalid-access-token/96853>\
**Category:** Meetings\
**Tags:** api\
**Created:** [October 16, 2023, 4:18pm UTC](https://devforum.zoom.us/t/zoom-api-getting-response-invalid-access-token/96853 "2023-10-16T16:18:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sachin.singh](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@sachin.singh](https://devforum.zoom.us/u/sachin.singh)\
**Post date:** [October 16, 2023, 4:18pm UTC](https://devforum.zoom.us/t/zoom-api-getting-response-invalid-access-token/96853/1 "2023-10-16T16:18:42Z")

</div>

When I am hitting API so getting issue -

stdClass Object  
(  
[code] =\> 124  
[message] =\> Invalid access token.  
)

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [October 16, 2023, 6:49pm UTC](https://devforum.zoom.us/t/zoom-api-getting-response-invalid-access-token/96853/2 "2023-10-16T18:49:15Z")

</div>

@sachin.singh

There are a few reasons why this could be happening:

1. Token is expired:  
Access tokens usually have a limited lifetime. Ensure your token has not expired. If it has, you’ll need to refresh it or obtain a new one.

2. Make sure the access token belongs to the correct user / account:  
If you generated access token for account A, but the user you are querying belongs to a different account, then you will get this error,
