Automate creation of channels (paid for version)

Colin Kerr on 7 Dec 2022
Latest activity Reply by Thomas Lowell on 24 Feb 2024

We have to create a few 10s of channels all with the same public view and settings. Is there any way of automating this ?
Doing it manually is time consuming and results in omissions and small mistakes.
Thomas Lowell
Thomas Lowell on 24 Feb 2024
Re-using this older thread.
I'm about to purchase a commerical license. I see that the Create Channel API will return the channel API keys. I need to create a second read API key for a specific user (email address) on each of my private channels. Is there a way to do this programmatically? I looked through the API reference doc but didn't see anything for such a specific use case. Thanks!
Christopher Stapels
Christopher Stapels on 24 Feb 2024

The create read api key does not have a separate public api. Once you have used the web ui to create the key, you can return it programmatically with the read channels api.

Thomas Lowell
Thomas Lowell on 24 Feb 2024
Thanks Christopher!
Christopher Stapels
Christopher Stapels on 8 Dec 2022
You are totally in luck! We have the create channel API. It takes the USER API key and returns the ID and read/write API keys for the newly created channel. You'll need to use an HTTP client (MATLAB, CURL, Arduino, Python, etc.), since its a POST request.