# Commands Sending commands to devices and stored command management ## Fetch a list of Saved Commands - [GET /commands](https://docs2.mygpsapi.com/openapi/commands/paths/~1commands/get.md): Without params, it returns a list of Saved Commands the user has access to ## Create a Saved Command - [POST /commands](https://docs2.mygpsapi.com/openapi/commands/paths/~1commands/post.md) ## Update a Saved Command - [PUT /commands/{id}](https://docs2.mygpsapi.com/openapi/commands/paths/~1commands~1%7Bid%7D/put.md) ## Delete a Saved Command - [DELETE /commands/{id}](https://docs2.mygpsapi.com/openapi/commands/paths/~1commands~1%7Bid%7D/delete.md) ## Fetch a list of Saved Commands supported by Device at the moment - [GET /commands/send](https://docs2.mygpsapi.com/openapi/commands/paths/~1commands~1send/get.md): Return a list of saved commands linked to Device and its groups, filtered by current Device protocol support ## Dispatch commands to device - [POST /commands/send](https://docs2.mygpsapi.com/openapi/commands/paths/~1commands~1send/post.md): Dispatch a new command or Saved Command if _body.id_ set ## Fetch a list of available Commands for the Device or all possible Commands if Device ommited - [GET /commands/types](https://docs2.mygpsapi.com/openapi/commands/paths/~1commands~1types/get.md)