
Documentation
Public API > PIN Code API.
PIN Code API
This page explains how to get a PIN code from your inventory extracted.Resources
/inventory/{id}/pin | Returns a PIN code (string) from the computer’s inventory by computer id | GET | |
/inventory/{computername}/pin | Returns a PIN code (string) from computer’s inventory by computer name | GET |
Note that the prefix of urls above depend on which data center you belong to. If USA, use dc2api.adminbyrequest.com. Otherwise (i.e., Europe), use dc1api.adminbyrequest.com.
Headers
apikey | Your apikey listed in your settings to retrieve the data | int |
Filters
Filters can be supplied either as URL parameters or headers.pintype | Challenge = get a PIN2 based on PIN1 value. UninstallPIN = an uninstall PIN code. The default is challenge | string |
pin1 | If PIN type is Challenge, you must specify a 6 digit PIN1 | string |
- Example: /inventory/win10test04/pin?pintype=challenge&pin1=123456
- The return type is always a single string