Help with api on spaces

Thanks for the answer Jhon goona give it a try-