Keys and limits

A key acts for the business with what it’s allowed, so keep it like a password. Routr keeps only a scrambled copy and can’t show it again. Lost one? Replace it: the new key has the same name and permissions, and the old one keeps working 24 hours (or 1 hour, or stops at once). A key never stops working unless whoever made it gave it an end date.

A key mayWhich calls
Add, change and remove stopsPOST PATCH DELETE /v1/stops
Send routesPOST /v1/routes/{id}/send, /take-back, /stops; DELETE /v1/routes/{id}
Read stops, routes and proofGET /v1/stops, /v1/routes, /v1/fields; proof links on delivered stops
CustomersGET PATCH /v1/customers
Couriers and hubsGET /v1/couriers, /v1/hubs

Each key makes up to 10 calls a second (20 at once, 600 a minute). Past that the answer is 429 with Retry-After in seconds. A connection that tries 30 wrong keys in an hour is refused for the rest of the hour; a working key is never refused for it.