You can very easily view sample API requests.
1. Open the web panel in Chrome, select ... - More Tools - Developer Tools
![](https://h-mdm.com/wp-content/uploads/dev_tools.jpg)
Select the "Network" tab.
2. Perform the action (in your case, add the device), and find the API request in the developer console.
![](https://h-mdm.com/wp-content/uploads/rest_api.jpg)
You must see the request method and body in the "Headers" subpanel, and the response can be viewed in the "Response" subpanel.