Integrations & SDKs

API

to use the hotmic public api, you need to use a public api key provided by hotmic retrieve 1 or more streams example requests get all streams (default limit) https //public api hotmic io/streams get set of 100 streams https //public api hotmic io/streams?limit=1000 get next set of 1000 streams (provided by β€œ$ links next” in response https //public api hotmic io/streams?cursor=a3113c5b 26f5 4704 aa43 288446d250b6\&limit=1000 get specific streams by stream id https //public api hotmic io/streams?ids=e35a851b e161 46b7 a921 f6899ccb9cc0 0e246a7b 1a14 4028 aac6 a2f0433bd8c7 get all streams for specific user id (default limit) https //public api hotmic io/streams?userid=e35a851b e161 46b7 a921 f6899ccb9cc0 get all streams updated since last check https //public api hotmic io/streams?orderby=last updated\&cursor=2022 10 13t17 00 08z response returns the stream object if the update succeeded returns an error if there the update fails id string the id of the streams user id string the user id of the host title string the title of the stream thumbnail string the url to the thumbnail image scheduled date string the datetime a stream is scheduled state string can be "scheduled" "live" "ended" or "vod" duration integer length of vod in seconds tags array an array of objects video url string url for the live hls stream when live and vod hls stream when the state is vod this url for the live stream is available when the stream is created, but will not be a valid working hls until the creator broadcasts hls the url will not change until it is vod, at which time the video url will return the vod url video mp4 url string the url of a mp4 download link, available after the stream has in the vod state video dash url string url for the live dash stream when live and vod dash stream when the state is vod this url for the live stream is available when the stream is created, but will not be a valid working dash until the creator broadcasts dash the url will not change until it is vod, at which time the video dash url will return the vod url video orientation string null or "landscape" for horizontal video "portrait" for vertical video description string a description of the stream event id the id of the event a stream is associated to only useful if you are creating mutiple streams per event type string the type of stream live date string the datetime the stream was set to "live" last updated string the datetime the stream was edited invite link string the link stored by hotmic to the stream user object with id string the id of the user followers string the number of followers of the user if using hotmic following tools display name string the name of the user to display to others profile pic string the url to the profile pic of the user tags array 1 ore more tags associated with the user update a stream returns the stream object if the update succeeded returns an error if there the update fails update a user create user get all users