Developers can use HTTP(S) API to access and modify resources. It is currently being used by Maker website and mobile applications, and developers are welcome to use it for their own projects.
You can use AllThingsTalk API Postman collection to create IoT device or application which uses our platform services.
Postman is a tool for API testing and development which offers an easy way to create and run API requests.
https://www.getpostman.com/postman
Click on the button below to use the collection and the environment in your Postman setup:
You should see AllThingsTalk API collection in Postman now.
Depending on the space you are working on, you should set variable as:
https://api.allthingstalk.io
for AllThingsTalk Makerhttps://also.allthingstalk.io
for ALSO IoT Platformhttps://<privateSpaceSubDomain>.allthingstalk.io
for a private spaceIn order to authenticate and authorize against our API, we suggest you use Ground token.
Alternatively, you can use User token.
More on tokens in Authentication.
We suggest that you use Postman environments, and create all the variables which are being referenced in the requests, like:
username
password
groundId
deviceId
Otherwise, you can just directly change the placeholders with your values.
We work hard on improving our API, so do let us know if you discover anything fishy, or come up with a new API which will help you achieve your idea.