Available Channels API Call
# support
m
Good morning, currently with my subscription I have 10 simultaneous calls but I can't seem to be efficient because I don't know when one of the available channels is actually freed up. Is there an API call or a function that allows me to know how many active simultaneous calls there are or how many channels I have available?
v
@Mattia Good morning! Yes, we do have a function that allows you to monitor your active simultaneous calls. This function can provide you with real-time information about the number of active calls and how many channels you have available at any given moment. This way, you can manage your calls more efficiently. Would you like me to guide you on how to use this function or assist you with anything else related to managing your calls?
You can continue this conversation by mentioning me in the message.
m
Yes please
s
@Mattia as of now we don't have any API to let you know about active/free channels.
m
Hello, is there a release plan for this api? How can I optimize my program at the moment? Start calls until I get a 400 as an error and wait a few minutes before trying again?
s
> is there a release plan for this api? Yes it's in our planned releases. > Start calls until I get a 400 as an error and wait a few minutes before trying again? @Mattia I didn't understood could you rephrase it?
m
@Shubham Bajaj I mean if at the moment the only way is to try to start a call until I get as an error for full channels, wait a few minutes and try again. Do you have an approximate timeline for the release of the API?
s
@Mattia You can maintain the counter by yourself as well, just ensure to not trigger calls more than your limit and add an artificial delay of 1 second between each call required to ensure the concurrency limit is not reached. Apart from this, the ETA is expected to be the end of this Q1.