curl --request POST \
--url 'https://api.stateset.com/api/v1/print-stations' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"printers": [
"string"
]
}'
{
"station": {
"id": "string",
"last_seen_at": null,
"name": "string",
"printers": [
"string"
],
"revoked": true
},
"token": "string"
}
Pair
POST
/
api
/
v1
/
print-stations
curl --request POST \
--url 'https://api.stateset.com/api/v1/print-stations' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"printers": [
"string"
]
}'
{
"station": {
"id": "string",
"last_seen_at": null,
"name": "string",
"printers": [
"string"
],
"revoked": true
},
"token": "string"
}
Request body
PairStationRequest
string
required
string[]
Responses
PairResponse
curl --request POST \
--url 'https://api.stateset.com/api/v1/print-stations' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"name": "string",
"printers": [
"string"
]
}'
{
"station": {
"id": "string",
"last_seen_at": null,
"name": "string",
"printers": [
"string"
],
"revoked": true
},
"token": "string"
}
⌘I