# Additional fields in API

**URL:** <https://forum.youcanbook.me/t/additional-fields-in-api/2456>\
**Category:** API\
**Created:** [October 25, 2023, 10:49am UTC](https://forum.youcanbook.me/t/additional-fields-in-api/2456 "2023-10-25T10:49:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![raza](https://avatars.discourse-cdn.com/v4/letter/r/82dd89/32.png) [@raza](https://forum.youcanbook.me/u/raza)\
**Post date:** [October 25, 2023, 10:49am UTC](https://forum.youcanbook.me/t/additional-fields-in-api/2456/1 "2023-10-25T10:49:41Z")

</div>

How can I capture additional fields in api response of a booking?  
what I need is links such as , google calendar, office365 calender, ics file etc.

example:

```auto
curl -X GET --header 'Accept: application/json' 'https://api.youcanbook.me/v1/bookings/0db66fda-f1e4-46f9-a325-8fd3938c0e6f?bsec=0&displayTimeZone=Europe%2FStockholm&fields=id%2Ctitle%2CaccountId%2C%20links%2CcreatedAt%2CstartsAt%2CendsAt%2Clocation%2Ctentative%2CtimeZone%2Ccancelled%2CnumberOfSlots&osec=0'

```

Thanks

---

<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 31, 2023, 12:45pm UTC](https://forum.youcanbook.me/t/additional-fields-in-api/2456/2 "2023-10-31T12:45:40Z")

</div>

@raza are you looking for a way to get the calendar event from the bookings endpoint? At the moment these are not available within the booking and only available through the UI using Shorthand codes, {ADD-TO-GOOGLE} {ADD-TO-MSLIVE} {ADD-TO-ICS}.
