digitalmultiWrite analogy in API call

@yeshwant.naik Sir, is it possible to control two or more pins of our hardware while making an API call similar to that of digitalmultiWrite we use while coding in js?
If its possible, do share the sample url to control 2 as well as 4 pins.
Thanks in Advance.

@arunkedu

Yes. We do have digitalMultiWrite API.

You can visit https://docs.boltiot.com/docs/write-digital-output-1 and scroll down to check how to use the command.

Here is the command for your reference. Please make sure you replace the API_KEY and DEVICE_ID with yours and use the pins that you want to control to relevant states.

https://cloud.boltiot.com/remote/API_KEY/digitalMultiWrite?pins=4,1,2&states=HIGH,LOW,HIGH&deviceName=DEVICE_ID

1 Like

This feature will help me to limit the api calls. Thank you @yeshwant.naik sir.