# Json API Transisition Time for segments

**URL:** <https://wled.discourse.group/t/json-api-transisition-time-for-segments/4120>\
**Category:** Questions\
**Created:** [November 25, 2021, 9:18am UTC](https://wled.discourse.group/t/json-api-transisition-time-for-segments/4120 "2021-11-25T09:18:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dave2526](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/dave2526/32/2294_2.png) [@Dave2526](https://wled.discourse.group/u/Dave2526)\
**Post date:** [November 25, 2021, 9:18am UTC](https://wled.discourse.group/t/json-api-transisition-time-for-segments/4120/1 "2021-11-25T09:18:53Z")

</div>

Hi there,  
i have a problem with my json api Call… i would like to fade in/ fade our when i set the LEDs… Is this possible? This Code works:

{“on”:true,“seg”:{“i”:[0,67,[255,0,0]]}}

But when i Add a Transition it makes no changes:

{“on”:true,“transition”:25,“seg”:{“i”:[0,67,[255,0,0]]}}

is it possible to add this? Or any other way to get a fade in / out in wled?  
Fade in or out via the api is not possible, this will crash my system…

TIA
