# Booking statuses

**URL:** <https://forum.youcanbook.me/t/booking-statuses/3761>\
**Category:** API\
**Created:** [October 11, 2024, 10:11am UTC](https://forum.youcanbook.me/t/booking-statuses/3761 "2024-10-11T10:11:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarekLeon](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MarekLeon](https://forum.youcanbook.me/u/MarekLeon)\
**Post date:** [October 11, 2024, 10:11am UTC](https://forum.youcanbook.me/t/booking-statuses/3761/1 "2024-10-11T10:11:55Z")

</div>

Hello,

I’m trying to determine the booking status using the API.

In the GUI and Zapier integration, I can see the statuses seem to be mapped this way:

- Undecided - tentative
- Cancelled - rejected or cancelled
- Accepted - upcoming or finished
- No Show - noShow
- And one more status in Zapier - inProgress

That’s all quite clear.

However, I can’t determine the status using the API.

In the Booking object ([Booking | YouCanBookMe API](https://ycbm.stoplight.io/docs/youcanbookme-api/40f63b6014b3e-booking)) I can only see two fields which look like a status:

- noShow
- cancelled

I tried to add the fields below to the request, hoping they would tell me something, but I don’t get any values for them, even though I tested it on a booking that already has some history - was accepted or rejected, etc.

The fields are:

- acceptedAt
- rejectedAt

So I’m quite confused.

Could you please advise how to determine the current booking status?

Thanks in advance for your assistance.

---

<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 15, 2024, 7:33pm UTC](https://forum.youcanbook.me/t/booking-statuses/3761/2 "2024-10-15T19:33:16Z")

</div>

@MarekLeon you can test out the booking query endpoint:  
/v1/accounts/{accountId}/bookings/query

Include the following:  
?direction=forwards  
from=2023-12-01T00%3A00%3A00Z (date and time)  
pageSize=20 (up to 500)  
statuses=finished (Valid values: tentative, rejected, cancelled, upcoming, inProgress, finished  
and noShow)

---

<div class="post-metadata">

**Author:** ![MarekLeon](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MarekLeon](https://forum.youcanbook.me/u/MarekLeon)\
**Post date:** [October 15, 2024, 9:35pm UTC](https://forum.youcanbook.me/t/booking-statuses/3761/3 "2024-10-15T21:35:53Z")

</div>

@Ben thanks for this workaround.  
Is there any chance you will add a field clearly showing the status of each booking? I believe that would be significantly better solution.
