GoMake

Gomake API

POST

Register Print Agent

Registers or updates an on-prem Print Manager machine for the API token print house

/api/print-agent/register

Request Body

versionstring(optional) - Agent version
hostnamestring(optional) - OS hostname
machineKeystring(required) - Stable machine identifier stored on the agent
displayNamestring(optional) - Friendly machine name
{
  "version": "1.0.0",
  "hostname": "DESKTOP-ABC123",
  "machineKey": "DESKTOP-ABC123",
  "displayName": "Front desk PC"
}

Responses

200Registered
401Unauthorized

Example Request

curl -X POST \
  https://api.gomake.net/api/print-agent/register \
  -H "Content-Type: application/json" \
  -H "X-Client-Id: your-client-id-here" \
  -H "X-Client-Secret: your-client-secret-here" \
  -d '{
  "version": "1.0.0",
  "hostname": "DESKTOP-ABC123",
  "machineKey": "DESKTOP-ABC123",
  "displayName": "Front desk PC"
}'

Note: Replace your-client-id-here and your-client-secret-here with your actual credentials. See the Authentication page for more details.