Yes, you need an org with API enabled permission.


To enable this permission please follow either of below 2 options:


1) Profiles:

Go to Setup -> Manage Users and click on Profiles -> Edit Administrative Permission -> Check the API Enable box -> Save


2) Permission sets:

Go to Setup ->Manage Users -> Permission Sets -> Select the Permission Set you're updating -> Go to the System and click System Permission -> Edit -> Check the API Enable box -> Save