Skip to content
Developersskuflo.iov1Changelog

Create a 10 minute pairing code for a new station

POST/v1/stations/pairing-codesFactory API keyBase URL api.skuflo.io
Try it now

Body parameters#

NameTypeDescription
namerequiredstring·
rolerequiredstring·
One of "produce", "dispatch", "returns", "stock"
ask_bayoptionalbooleanMade stations: ask for the rack bay label before each piece
Default true
worker_nameoptionalstring, max 60, nullable·
photo_modeoptionalstring·
One of "optional", "required"
Default "optional"
record_locationoptionalboolean·
Default false
calibrateoptionalbooleanThe device scans the test barcode four times before it scans anything else
Default true

Responses#

StatusMeaning
201Created. The new record is in the body.

Other errors#

StatusMeaning
401No key, or the key is not recognised.
402billing_required. Reading always works, but this is a write and stops once a trial ends or a plan is cancelled.
403The key is valid but its role cannot do this.
422The body failed validation. The response lists every problem at once.
429More than 600 requests a minute. Wait retry-after seconds.