Add data in queue through API

current ( but soon to be old ) api

new ( still in beta but will soon be the current ) api: