# API to get the profiles

**URL:** <https://forum.youcanbook.me/t/api-to-get-the-profiles/3754>\
**Category:** API\
**Created:** [October 7, 2024, 7:36am UTC](https://forum.youcanbook.me/t/api-to-get-the-profiles/3754 "2024-10-07T07:36:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gio](https://avatars.discourse-cdn.com/v4/letter/g/9dc877/32.png) [@Gio](https://forum.youcanbook.me/u/Gio)\
**Post date:** [October 7, 2024, 7:36am UTC](https://forum.youcanbook.me/t/api-to-get-the-profiles/3754/1 "2024-10-07T07:36:18Z")

</div>

I have the proper Basic Auth with account id and secret key as username / password. and I get a 200 on the reply… but the body is empty… there are no data

[https://api.youcanbook.me/v1/:accountId/bookings?profileIds=xxxxxxxxx](https://api.youcanbook.me/v1/:accountId/bookings?profileIds=xxxxxxxxx)

it returned nothing empty

---

<div class="post-metadata">

**Author:** ![Ben](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.youcanbook.me/ben/32/772_2.png) [@Ben](https://forum.youcanbook.me/u/Ben)\
**Post date:** [October 7, 2024, 8:07pm UTC](https://forum.youcanbook.me/t/api-to-get-the-profiles/3754/2 "2024-10-07T20:07:31Z")

</div>

@Gio If you are checking on bookings for a profileId that is associated with your account and permissions, this request will pull in the bookings for that page. If you are getting a blank return this means that your API key does not have permission to view bookings for that profileId

---

<div class="post-metadata">

**Author:** ![Gio](https://avatars.discourse-cdn.com/v4/letter/g/9dc877/32.png) [@Gio](https://forum.youcanbook.me/u/Gio)\
**Post date:** [October 8, 2024, 12:20am UTC](https://forum.youcanbook.me/t/api-to-get-the-profiles/3754/3 "2024-10-08T00:20:37Z")

</div>

Hi Ben, Thanks for the reply. My account is an administrator account. Should I be able to retrieve all bookings in the system? If not how to do it?

Thanks in advance.
