Delivery API
Delivery API reference
Every endpoint of the Delivery API, with schemas, errors and examples.
https://api.remi.robot.com/api/v3Authentication
An API key with the delivery scope, sent as Authorization: Bearer <key>. Ask your Robot.com representative for one.
- GET
/deliveryList deliveries - POST
/deliveryCreate a delivery - POST
/delivery/etaEstimate arrival times - GET
/delivery/{id}Get a delivery - PATCH
/delivery/{id}Update a delivery - GET
/delivery/{id}/routeGet the remaining route - POST
/delivery/{id}/cancelCancel a delivery - POST
/delivery/{id}/pausePause a delivery - POST
/delivery/{id}/resumeResume a delivery
Deliveries
Create, read, change and cancel deliveries.
List deliveries
/deliveryscope deliveryNewest first by default. Pass pagination.next_cursor as cursor to get the next page; it is null on the last page.
Query parameters
limitinteger | 1 to 1000. Default 100. |
cursorstring | |
active'true' | 'false' | |
external_idstring | |
sort'asc' | 'desc' | Default "desc". |
Response 200
datarequired | |
paginationrequiredobject | |
pagination.next_cursorrequiredstring | null | |
pagination.limitrequirednumber |
Errors
| 400 | Invalid query, for example active other than true or false. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
curl -X GET 'https://api.remi.robot.com/api/v3/delivery' \
-H "Authorization: Bearer $REMI_API_KEY"Create a delivery
/deliveryscope deliveryCreates the delivery and returns it. REMI assigns a bot and starts it.
- A point is a registered
id, yourexternal_id, orlat+lng. dropoffis required forstandardand not allowed forpickup_only.- Any error means no delivery exists, so retrying is safe.
Body
namestring | Display name, for example the order number. |
location_idstring | Optional when a point is a registered one. |
draftboolean | null | Create without starting it. Publish with PATCH and draft: false. |
mode'standard' | 'pickup_only' | null | Delivery mode. Defaults to standard (bot delivery). |
tagsstring[] | null | |
options | |
external_idstring | null | Your id. Unique among your active deliveries; use it with id_type=external. |
pickuprequired | |
dropoff | Required for standard, not allowed for pickup_only. |
return_point | Where a canceled, loaded order goes back to. Turns the return on. |
packages | |
deliver_bystring (date-time) | null | Deadline. Not with require_available_bot. |
metadataRecord<string, unknown> | null | Free-form, returned as sent. |
Response 201
datarequired |
Errors
| 400 | Invalid body, an unresolvable point, or require_available_bot together with deliver_by. |
400INVALID_BOT | The bot in options.bots does not exist for you. |
400PICKUP_ONLY_CONTACT_REQUIRED | Pickup-only with tracking notifications but no pickup contact phone or email. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
409NO_AVAILABLE_BOT | With require_available_bot: no bot is free. |
409BOT_UNAVAILABLE | The pinned bot is not connected or not available. |
409BOT_BUSY | The pinned bot is on another delivery. |
| 501 | More than one bot in options.bots. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"name":"Order #4821","external_id":"order-4821","location_id":"7Nk2QhVpXrLmT4wZaBcDe","pickup":{"id":"V1StGXR8Z5jdHi6BmyT2q","contact":{"name":"Ana","phone":"+573001234567"}},"dropoff":{"lat":4.6602,"lng":-74.0521,"matching":{"mode":"snap","radius":25}},"packages":[{"reference":"burger-pkg","station":"Burger Shop","items":[{"name":"Cheeseburger","quantity":1}]}],"options":{"webhook_url":"https://example.com/hooks/remi"}}'{
"name": "Order #4821",
"external_id": "order-4821",
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"pickup": {
"id": "V1StGXR8Z5jdHi6BmyT2q",
"contact": {
"name": "Ana",
"phone": "+573001234567"
}
},
"dropoff": {
"lat": 4.6602,
"lng": -74.0521,
"matching": {
"mode": "snap",
"radius": 25
}
},
"packages": [
{
"reference": "burger-pkg",
"station": "Burger Shop",
"items": [
{
"name": "Cheeseburger",
"quantity": 1
}
]
}
],
"options": {
"webhook_url": "https://example.com/hooks/remi"
}
}{
"data": {
"id": "ES-5867",
"name": "Order #4821",
"draft": false,
"mode": "standard",
"state": "pending",
"paused": false,
"bot": null,
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"arriving": false,
"arriving_at": "2026-06-17T15:51:00.000Z",
"options": {
"bots": null,
"bot_tags": null,
"require_available_bot": false,
"webhook_url": "https://example.com/hooks/remi",
"webhook_headers": null,
"return_enabled": false,
"eta_updates": false
},
"external_id": "order-4821",
"pickup": {
"id": "V1StGXR8Z5jdHi6BmyT2q",
"name": "Downtown Store",
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"contact": {
"name": "Ana",
"phone": "+573001234567",
"email": null
},
"matching": null
},
"dropoff": {
"id": null,
"name": "dropoff",
"lat": 4.6602,
"lng": -74.0521,
"azimuth": null,
"contact": null,
"matching": {
"mode": "snap",
"radius": 25
}
},
"return_point": null,
"packages": [
{
"reference": "burger-pkg",
"items": [
{
"name": "Cheeseburger",
"quantity": 1,
"description": null,
"picture_url": null,
"metadata": null
}
],
"dimensions": null,
"weight": null,
"metadata": null,
"station": "Burger Shop",
"loaded": false
}
],
"deliver_by": null,
"created_at": "2026-06-17T15:42:00.000Z",
"metadata": null,
"event_type": null,
"estimates": {
"distance": 2980,
"duration": 2483000,
"pickup": {
"arrival_at": "2026-06-17T15:51:00.000Z",
"completion_at": "2026-06-17T15:54:00.000Z",
"source": "derived",
"unknown_reason": null
},
"dropoff": {
"arrival_at": "2026-06-17T16:12:00.000Z",
"completion_at": "2026-06-17T16:14:00.000Z",
"source": "derived",
"unknown_reason": null
},
"scheduled_at": null,
"target_completion_at": null
},
"tracker_url": "https://track.kiwibot.com/t/A1b2C3d4E5",
"scheduled": false,
"cancellation_reason": null,
"incomplete_reason": null
}
}Estimate arrival times
/delivery/etascope deliveryTwo modes:
pickup+dropoff: arrival of the nearest free bot, without creating anything. Travel time only.delivery_id: the current estimate of an existing delivery, including load and unload time.
Body
delivery_idstring | An existing delivery. When set, the points are ignored. |
id_type'external' | Treat delivery_id as your external_id. |
pickup | |
dropoff | |
location_idstring | Needed when neither point is a registered one. |
Response 200
datarequired |
Errors
| 400 | Neither delivery_id nor both points, or points with no resolvable location. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 403 | The location is not yours. |
| 404 | No delivery with that delivery_id. |
409NO_AVAILABLE_BOT | No connected, free bot with at least 20% battery. |
| 422 | No route between the points. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/eta' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"location_id":"7Nk2QhVpXrLmT4wZaBcDe","pickup":{"lat":4.6512,"lng":-74.0689},"dropoff":{"lat":4.6602,"lng":-74.0521}}'{
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"pickup": {
"lat": 4.6512,
"lng": -74.0689
},
"dropoff": {
"lat": 4.6602,
"lng": -74.0521
}
}{
"data": {
"bot_id": "4T001",
"pickup_eta": "2026-06-17T15:51:00.000Z",
"dropoff_eta": "2026-06-17T16:12:00.000Z"
}
}Get a delivery
/delivery/{id}scope deliveryPath parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Response 200
datarequired |
Errors
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery with this id in your namespace (by external_id: no active one). |
curl -X GET 'https://api.remi.robot.com/api/v3/delivery/{id}' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"id": "ES-5867",
"name": "Order #4821",
"draft": false,
"mode": "standard",
"state": "going_to_pickup",
"paused": false,
"bot": {
"id": "4T001",
"lat": 4.6498,
"lng": -74.0712,
"door_status": "closed",
"control": null
},
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"arriving": false,
"arriving_at": "2026-06-17T15:51:00.000Z",
"options": {
"bots": null,
"bot_tags": null,
"require_available_bot": false,
"webhook_url": "https://example.com/hooks/remi",
"webhook_headers": null,
"return_enabled": false,
"eta_updates": false
},
"external_id": "order-4821",
"pickup": {
"id": "V1StGXR8Z5jdHi6BmyT2q",
"name": "Downtown Store",
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"contact": {
"name": "Ana",
"phone": "+573001234567",
"email": null
},
"matching": null
},
"dropoff": {
"id": null,
"name": "dropoff",
"lat": 4.6602,
"lng": -74.0521,
"azimuth": null,
"contact": null,
"matching": {
"mode": "snap",
"radius": 25
}
},
"return_point": null,
"packages": [
{
"reference": "burger-pkg",
"items": [
{
"name": "Cheeseburger",
"quantity": 1,
"description": null,
"picture_url": null,
"metadata": null
}
],
"dimensions": null,
"weight": null,
"metadata": null,
"station": "Burger Shop",
"loaded": false
}
],
"deliver_by": null,
"created_at": "2026-06-17T15:42:00.000Z",
"metadata": null,
"event_type": null,
"estimates": {
"distance": 2980,
"duration": 2483000,
"pickup": {
"arrival_at": "2026-06-17T15:51:00.000Z",
"completion_at": "2026-06-17T15:54:00.000Z",
"source": "derived",
"unknown_reason": null
},
"dropoff": {
"arrival_at": "2026-06-17T16:12:00.000Z",
"completion_at": "2026-06-17T16:14:00.000Z",
"source": "derived",
"unknown_reason": null
},
"scheduled_at": null,
"target_completion_at": null
},
"tracker_url": "https://track.kiwibot.com/t/A1b2C3d4E5",
"scheduled": false,
"cancellation_reason": null,
"incomplete_reason": null
}
}Update a delivery
/delivery/{id}scope deliverySupported today: change external_id, and publish a draft with draft: false (add scheduled_at to schedule it). Other fields answer 501.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Body
namestring | |
draftboolean | null | |
options | |
external_idstring | null | |
pickup{ name?: string, lat?: number, lng?: number, azimuth?: integer | null, contact?: { name?: string | null, phone?: string | null, email?: string (email) | null } | null } | { id: string } | |
dropoff{ name?: string, lat?: number, lng?: number, azimuth?: integer | null, contact?: { name?: string | null, phone?: string | null, email?: string (email) | null } | null } | { id: string } | |
return_point{ name?: string, lat?: number, lng?: number, azimuth?: integer | null, contact?: { name?: string | null, phone?: string | null, email?: string (email) | null } | null } | { id: string } | null | |
packages | |
deliver_bystring (date-time) | null | |
scheduled_atstring (date-time) | null | |
metadataRecord<string, unknown> | null |
Response 200
datarequired |
Errors
| 400 | draft: false on a delivery that is not a draft, or a point that can no longer change. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery with this id in your namespace (by external_id: no active one). |
| 501 | The field cannot be updated yet. |
curl -X PATCH 'https://api.remi.robot.com/api/v3/delivery/{id}' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"draft":false,"scheduled_at":"2026-06-17T23:30:00.000Z"}'{
"draft": false,
"scheduled_at": "2026-06-17T23:30:00.000Z"
}Get the remaining route
/delivery/{id}/routescope deliveryThe path the bot still has to drive, from its last position through the remaining stops. Before a bot starts, it begins at the pickup.
Poll it: nothing is pushed when the bot reroutes. A result can be up to 10 seconds old (computed_at).
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Response 200
datarequired |
Errors
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery with this id in your namespace (by external_id: no active one). |
409PICKUP_ONLY_DELIVERY | Pickup-only deliveries have no bot. |
409DELIVERY_FINALIZED | The delivery is delivered, returned, canceled or failed. |
409BOT_POSITION_UNKNOWN | No bot position from the last 30 minutes. Retry shortly. |
curl -X GET 'https://api.remi.robot.com/api/v3/delivery/{id}/route' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"source": "estimated",
"mapped": true,
"computed_at": "2026-06-17T15:48:10.000Z",
"position_recorded_at": "2026-06-17T15:48:08.000Z",
"distance": 2980,
"duration": 2483000,
"points": [
[
4.6498,
-74.0712
],
[
4.6512,
-74.0689
],
[
4.6577,
-74.0571
],
[
4.6602,
-74.0521
]
],
"stops": [
{
"name": "pickup",
"lat": 4.6512,
"lng": -74.0689,
"point_index": 1
},
{
"name": "dropoff",
"lat": 4.6602,
"lng": -74.0521,
"point_index": 3
}
]
}
}Cancel a delivery
/delivery/{id}/cancelscope deliveryWith a return configured and the order already loaded, the bot brings it back and the delivery ends returned. Pickup-only: stations already handed over stay handed over.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Response 200
successrequiredtrue |
Errors
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery with this id in your namespace (by external_id: no active one). |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/cancel' \
-H "Authorization: Bearer $REMI_API_KEY"{
"success": true
}Pause a delivery
/delivery/{id}/pausescope deliveryStops the bot where it is and alerts our operations team. Not an emergency stop: for a physical emergency, call operations too. Pausing again is a no-op.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Body (optional)
reasonstring | Shown to operations. Cut to 200 characters. |
Response 200
datarequired |
Errors
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery with this id in your namespace (by external_id: no active one). |
409DELIVERY_NOT_IN_PROGRESS | Only a delivery in progress can be paused. |
409STOP_NOT_SUPPORTED | This bot or delivery cannot be stopped through the API. Call operations. |
409OPERATOR_IN_CONTROL | An operator is driving the bot. Call operations. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/pause' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"reason":"The robot is blocking a building entrance"}'{
"reason": "The robot is blocking a building entrance"
}Resume a delivery
/delivery/{id}/resumescope deliveryResumes a delivery you paused. A pause made by our operations team is theirs to resume.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Body (optional)
reasonstring | Shown to operations. Cut to 200 characters. |
Response 200
datarequired |
Errors
400RESUME_JOB_NO_BOT | The delivery no longer has a bot. Call operations. |
400RESUME_JOB_INVALID_STATE | The delivery changed at the same moment. Read it again. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery with this id in your namespace (by external_id: no active one). |
409DELIVERY_NOT_PAUSED | The delivery is not paused. |
409PAUSED_BY_OPERATIONS | Our operations team paused it. |
409OPERATOR_IN_CONTROL | An operator is driving the bot. Call operations. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/resume' \
-H "Authorization: Bearer $REMI_API_KEY"Loading
Open the bot door and confirm loads and hand-offs.
Open the door to load
/delivery/{id}/load/startscope deliveryAt at_pickup: opens the bot door. The state does not change.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Response 200
datarequired |
Errors
| 400 | The delivery is not at_pickup, or has no bot. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery in progress with this id. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/load/start' \
-H "Authorization: Bearer $REMI_API_KEY"Finish loading
/delivery/{id}/load/finishscope deliveryConfirms the whole pickup is loaded: REMI closes the door and the delivery moves to going_to_dropoff. Takes no body. To finish one station or package, use the targeted route. On a bot whose lid a person closes (manual_close_door), this does nothing: the load completes when the lid closes.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Response 200
datarequired |
Errors
| 400 | The delivery is not at_pickup (also when it already left), or has no bot. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery in progress with this id. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/load/finish' \
-H "Authorization: Bearer $REMI_API_KEY"Finish loading one station or package
/delivery/{id}/load/finish/targetscope deliveryCompletes only the package or station you name. The bot leaves when every package is loaded. Repeating it is a no-op. On a 409, do not fall back to the untargeted finish: it would load everything.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Body
packagestring | A package reference. |
stationstring | Every package of this station. |
Response 200
datarequired |
Errors
| 400 | The delivery is not at_pickup, or has no bot. |
400LOAD_TARGET_AMBIGUOUS | Both package and station were sent. |
400LOAD_TARGET_REQUIRED | No target, and the delivery has several load actions. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery in progress with this id. |
404LOAD_TARGET_NOT_FOUND | Unknown package or station. |
409LOAD_TARGET_NOT_LOADABLE | The target is paused, failed, skipped or canceled. Nothing changed. |
409LOAD_TARGET_NO_ACTIONS | The target has nothing to load. Nothing changed. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/load/finish/target' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"station":"Burger Shop"}'{
"station": "Burger Shop"
}Open the door to unload
/delivery/{id}/unload/startscope deliveryAt at_dropoff: opens the bot door. The state does not change.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Response 200
datarequired |
Errors
| 400 | The delivery is not at_dropoff, or has no bot. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery in progress with this id. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/unload/start' \
-H "Authorization: Bearer $REMI_API_KEY"Finish unloading
/delivery/{id}/unload/finishscope deliveryConfirms the hand-off: the delivery is delivered. On a bot whose lid a person closes (manual_close_door), this does nothing: the unload completes when the lid closes.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Response 200
datarequired |
Errors
| 400 | The delivery is not at_dropoff, or has no bot. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery in progress with this id. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/unload/finish' \
-H "Authorization: Bearer $REMI_API_KEY"Pickup-only
Milestones of orders the customer collects, with no bot.
Start preparation
/delivery/{id}/preparation/startscope deliveryPickup-only. Moves the delivery to preparing. Repeating it is a no-op.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Response 200
datarequired |
Errors
| 400 | Not a pickup-only delivery. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery with this id in your namespace (by external_id: no active one). |
409MILESTONE_OUT_OF_ORDER | The delivery ended before this milestone. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/preparation/start' \
-H "Authorization: Bearer $REMI_API_KEY"Finish preparation
/delivery/{id}/preparation/finishscope deliveryPickup-only. Marks the order, or one station or package of it, ready. With several stations, send one call per station; the delivery is ready_for_pickup when all are ready. Repeating it is a no-op.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Body (optional)
packagestring | A package reference. |
stationstring | Every package of this station. |
all_stationsboolean | Accepted, but has no effect today. |
Response 200
datarequired |
Errors
400MILESTONE_TARGET_AMBIGUOUS | Both package and station were sent. |
400MILESTONE_TARGET_REQUIRED | The order has several stations or packages and no target was sent. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery with this id in your namespace (by external_id: no active one). |
404MILESTONE_TARGET_NOT_FOUND | Unknown package or station. |
409MILESTONE_OUT_OF_ORDER | A previous milestone is missing, or the delivery ended without this one. |
409MILESTONE_TARGET_NOT_LOADABLE | The target is paused, failed, skipped or canceled. Nothing changed. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/preparation/finish' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"station":"Burger Shop"}'{
"station": "Burger Shop"
}Confirm pickup
/delivery/{id}/pickup/confirmscope deliveryPickup-only. The customer took the order, or one station or package of it. The delivery is picked_up when every station is. The customer can also confirm from the tracker page. Repeating it is a no-op.
Path parameters
idrequiredstring | Delivery id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. Resolves only active deliveries. |
Body (optional)
packagestring | A package reference. |
stationstring | Every package of this station. |
all_stationsboolean | Accepted, but has no effect today. |
Response 200
datarequired |
Errors
400MILESTONE_TARGET_AMBIGUOUS | Both package and station were sent. |
400MILESTONE_TARGET_REQUIRED | The order has several stations or packages and no target was sent. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No delivery with this id in your namespace (by external_id: no active one). |
404MILESTONE_TARGET_NOT_FOUND | Unknown package or station. |
409MILESTONE_OUT_OF_ORDER | A previous milestone is missing, or the delivery ended without this one. |
409MILESTONE_TARGET_NOT_LOADABLE | The target is paused, failed, skipped or canceled. Nothing changed. |
curl -X POST 'https://api.remi.robot.com/api/v3/delivery/{id}/pickup/confirm' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"station":"Burger Shop"}'{
"station": "Burger Shop"
}Kitchen availability
Whether a kitchen can take orders right now.
Check several kitchens
/delivery/points/availabilityscope deliverySend exactly one of location_id (every pickup point there) or point_ids (up to 100). Unknown ids come back with reason: unknown_point.
Query parameters
location_idstring | |
point_idsstring | |
id_type'external' |
Response 200
datarequired |
Errors
| 400 | Both or neither filter, more than 100 ids, or id_type with location_id. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
curl -X GET 'https://api.remi.robot.com/api/v3/delivery/points/availability' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": [
{
"point_id": "V1StGXR8Z5jdHi6BmyT2q",
"external_id": "kitchen-north",
"name": "North Kitchen",
"available": true,
"last_seen_at": "2026-06-17T15:40:00.000Z",
"reason": "ok"
},
{
"point_id": "9QzXcV5bNm1LkJhGfDsAp",
"external_id": "kitchen-south",
"name": "South Kitchen",
"available": false,
"reason": "no_session"
}
]
}Check one kitchen
/delivery/points/{id}/availabilityscope deliveryWhether the kitchen at this pickup point can take orders now: its tablet session is live. Fails closed: when unsure, available is false. Always 200 for a known caller.
Path parameters
idrequiredstring | Point id (ours, not external_id). |
Query parameters
id_typestring |
Response 200
datarequired |
Errors
| 400 | id_type was sent. Use the batch endpoint to look up by external_id. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
curl -X GET 'https://api.remi.robot.com/api/v3/delivery/points/{id}/availability' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"available": true,
"last_seen_at": "2026-06-17T15:40:00.000Z",
"reason": "ok"
}
}Partner
Your partner account. Each API key has one, created once.
Get your partner
/partnersscope deliveryResponse 200
datarequired |
Errors
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | You have not created your partner yet. Create it with POST /partners. |
curl -X GET 'https://api.remi.robot.com/api/v3/partners' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"id": "V1StGXR8Z5jdHi6BmyT2q",
"external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
"namespace": "partner_acme",
"name": "Acme Logistics",
"enabled": true
}
}Create your partner
/partnersscope deliveryCreates the partner of your API key, which can have only one.
Body
namerequiredstring | Display name. Must be unique. |
Response 201
datarequired |
Errors
| 400 | Invalid body, for example a missing name. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 409 | Your key already has a partner. Use GET or PATCH /partners. |
409PARTNER_NAME_TAKEN | name is already used by another partner. |
curl -X POST 'https://api.remi.robot.com/api/v3/partners' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"name":"Acme Logistics"}'{
"name": "Acme Logistics"
}{
"data": {
"id": "V1StGXR8Z5jdHi6BmyT2q",
"external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
"namespace": "partner_acme",
"name": "Acme Logistics",
"enabled": true
}
}Update your partner
/partnersscope deliveryBody
namerequiredstring | Display name. Must be unique. |
Response 200
datarequired |
Errors
| 400 | Invalid body, or no field to update. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | You have not created your partner yet. Create it with POST /partners. |
409PARTNER_NAME_TAKEN | name is already used by another partner. |
curl -X PATCH 'https://api.remi.robot.com/api/v3/partners' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"name":"Acme Logistics US"}'{
"name": "Acme Logistics US"
}{
"data": {
"id": "V1StGXR8Z5jdHi6BmyT2q",
"external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
"namespace": "partner_acme",
"name": "Acme Logistics US",
"enabled": true
}
}Locations
The operating areas of your partner, and the paths our bots can drive in them.
List locations
/locationsscope deliveryResponse 200
datarequired |
Errors
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
curl -X GET 'https://api.remi.robot.com/api/v3/locations' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": [
{
"id": "7Nk2QhVpXrLmT4wZaBcDe",
"external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
"partner_id": "V1StGXR8Z5jdHi6BmyT2q",
"full_name": "Downtown Campus",
"short_name": "DTC",
"country_code": "CO",
"city_name": "Bogotá",
"state_name": null,
"time_zone": "America/Bogota",
"enabled": true,
"polygon": {
"type": "Polygon",
"coordinates": [
[
-74.0712,
4.6498
],
[
-74.0521,
4.6498
],
[
-74.0521,
4.6602
],
[
-74.0712,
4.6602
],
[
-74.0712,
4.6498
]
]
},
"availability_intervals": null
}
]
}Create a location
/locationsscope deliveryBody
full_namerequiredstring | Display name. Must be unique. |
short_namerequiredstring | Short code, 3 to 4 characters. Must be unique. Up to 4 characters. |
country_coderequiredstring | ISO 3166-1 alpha-2, for example US. Up to 2 characters. |
city_namestring | |
state_namestring | |
time_zonestring | IANA time zone, for example America/Bogota. Defaults to America/Bogota. |
polygonrequiredobject | Operating area. coordinates is a flat list of [lng, lat] pairs, not the nested rings of standard GeoJSON. |
polygon.typerequired'Polygon' | |
polygon.coordinatesrequirednumber[][] |
Response 201
datarequired |
Errors
| 400 | Invalid body, for example a short_name that is not 3 to 4 characters or a polygon with nested rings. |
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
409LOCATION_NAME_TAKEN | full_name or short_name is already used: names are unique across all partners. params.field says which. |
curl -X POST 'https://api.remi.robot.com/api/v3/locations' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"full_name":"Downtown Campus","short_name":"DTC","country_code":"CO","city_name":"Bogotá","polygon":{"type":"Polygon","coordinates":[[-74.0712,4.6498],[-74.0521,4.6498],[-74.0521,4.6602],[-74.0712,4.6602],[-74.0712,4.6498]]}}'{
"full_name": "Downtown Campus",
"short_name": "DTC",
"country_code": "CO",
"city_name": "Bogotá",
"polygon": {
"type": "Polygon",
"coordinates": [
[
-74.0712,
4.6498
],
[
-74.0521,
4.6498
],
[
-74.0521,
4.6602
],
[
-74.0712,
4.6602
],
[
-74.0712,
4.6498
]
]
}
}{
"data": {
"id": "7Nk2QhVpXrLmT4wZaBcDe",
"external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
"partner_id": "V1StGXR8Z5jdHi6BmyT2q",
"full_name": "Downtown Campus",
"short_name": "DTC",
"country_code": "CO",
"city_name": "Bogotá",
"state_name": null,
"time_zone": "America/Bogota",
"enabled": true,
"polygon": {
"type": "Polygon",
"coordinates": [
[
-74.0712,
4.6498
],
[
-74.0521,
4.6498
],
[
-74.0521,
4.6602
],
[
-74.0712,
4.6602
],
[
-74.0712,
4.6498
]
]
},
"availability_intervals": null
}
}Get a location
/locations/{id}scope deliveryPath parameters
idrequiredstring | Location id. |
Response 200
datarequired |
Errors
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No location with this id in your partner. |
curl -X GET 'https://api.remi.robot.com/api/v3/locations/{id}' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"id": "7Nk2QhVpXrLmT4wZaBcDe",
"external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
"partner_id": "V1StGXR8Z5jdHi6BmyT2q",
"full_name": "Downtown Campus",
"short_name": "DTC",
"country_code": "CO",
"city_name": "Bogotá",
"state_name": null,
"time_zone": "America/Bogota",
"enabled": true,
"polygon": {
"type": "Polygon",
"coordinates": [
[
-74.0712,
4.6498
],
[
-74.0521,
4.6498
],
[
-74.0521,
4.6602
],
[
-74.0712,
4.6602
],
[
-74.0712,
4.6498
]
]
},
"availability_intervals": null
}
}Update a location
/locations/{id}scope deliverySend only the fields you change.
Path parameters
idrequiredstring | Location id. |
Body
full_namestring | Display name. Must be unique. |
short_namestring | Short code, 3 to 4 characters. Must be unique. Up to 4 characters. |
country_codestring | ISO 3166-1 alpha-2, for example US. Up to 2 characters. |
city_namestring | |
state_namestring | |
time_zonestring | IANA time zone, for example America/Bogota. Defaults to America/Bogota. |
polygonobject | Operating area. coordinates is a flat list of [lng, lat] pairs, not the nested rings of standard GeoJSON. |
polygon.typerequired'Polygon' | |
polygon.coordinatesrequirednumber[][] |
Response 200
datarequired |
Errors
| 400 | Invalid body, or no field to update. |
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No location with this id in your partner. |
409LOCATION_NAME_TAKEN | full_name or short_name is already used: names are unique across all partners. params.field says which. |
curl -X PATCH 'https://api.remi.robot.com/api/v3/locations/{id}' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"city_name":"Bogotá D.C."}'{
"city_name": "Bogotá D.C."
}{
"data": {
"id": "7Nk2QhVpXrLmT4wZaBcDe",
"external_id": "ext_8Fh2KpLm4NqRs7TvWxYz1",
"partner_id": "V1StGXR8Z5jdHi6BmyT2q",
"full_name": "Downtown Campus",
"short_name": "DTC",
"country_code": "CO",
"city_name": "Bogotá D.C.",
"state_name": null,
"time_zone": "America/Bogota",
"enabled": true,
"polygon": {
"type": "Polygon",
"coordinates": [
[
-74.0712,
4.6498
],
[
-74.0521,
4.6498
],
[
-74.0521,
4.6602
],
[
-74.0712,
4.6602
],
[
-74.0712,
4.6498
]
]
},
"availability_intervals": null
}
}Get the paths of a location
/locations/{id}/pathsscope deliveryThe paths our bots can drive at the location: sidewalks, crossings and driveways, as a GeoJSON FeatureCollection of LineStrings. A location with no map returns an empty collection. Not paginated; a change to the map can take up to 10 minutes to appear.
Path parameters
idrequiredstring | Location id. |
Response 200
datarequired |
Errors
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No location with this id in your partner. |
| 503 | The map service is temporarily unavailable. Retry later. |
curl -X GET 'https://api.remi.robot.com/api/v3/locations/{id}/paths' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[
-74.0712,
4.6498
],
[
-74.0689,
4.6512
],
[
-74.0671,
4.6527
]
]
},
"properties": {
"id": 1042,
"kind": "sidewalk"
}
},
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[
-74.0671,
4.6527
],
[
-74.067,
4.6531
]
]
},
"properties": {
"id": 1043,
"kind": "crossing"
}
}
]
}
}Points
Named coordinates inside a location, used as pickup and dropoff anchors.
List points
/pointsscope deliveryThe points of one location.
Query parameters
location_idrequiredstring | A location you own. |
Response 200
datarequired |
Errors
| 400 | location_id is missing. |
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No location with this id in your partner. |
curl -X GET 'https://api.remi.robot.com/api/v3/points' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": [
{
"id": "Qm3LxYtR9vBnKs2FdHjWp",
"external_id": "kitchen-north",
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"partner_id": "V1StGXR8Z5jdHi6BmyT2q",
"name": "North Kitchen",
"description": null,
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"tags": [
"pickup"
]
}
]
}Create a point
/pointsscope deliveryAdds a point to one of your locations. A point without the pickup tag is never reported as available by the kitchen availability check (not_pickup).
Body
location_idrequiredstring | A location you own. |
latrequirednumber | -90 to 90. |
lngrequirednumber | -180 to 180. |
namestring | |
descriptionstring | |
azimuthinteger | Approach heading in degrees, 0 to 360. 0 to 360. |
external_idstring | Your own id for the point. Must be unique across your points. Generated when omitted. |
tags('pickup' | 'dropoff')[] | Roles of the point: pickup (kitchen, where orders start) and dropoff (delivery destination). Up to 20 items. |
Response 201
datarequired |
Errors
| 400 | Invalid body, for example a lat out of range or a tag other than pickup or dropoff. |
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No location with this id in your partner. |
409POINT_EXTERNAL_ID_TAKEN | external_id is already used by another of your points. |
curl -X POST 'https://api.remi.robot.com/api/v3/points' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"location_id":"7Nk2QhVpXrLmT4wZaBcDe","external_id":"kitchen-north","name":"North Kitchen","lat":4.6512,"lng":-74.0689,"tags":["pickup"]}'{
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"external_id": "kitchen-north",
"name": "North Kitchen",
"lat": 4.6512,
"lng": -74.0689,
"tags": [
"pickup"
]
}{
"data": {
"id": "Qm3LxYtR9vBnKs2FdHjWp",
"external_id": "kitchen-north",
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"partner_id": "V1StGXR8Z5jdHi6BmyT2q",
"name": "North Kitchen",
"description": null,
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"tags": [
"pickup"
]
}
}Get a point
/points/{id}scope deliveryPath parameters
idrequiredstring | Point id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. |
Response 200
datarequired |
Errors
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No point with this id in your partner (by external_id: no point with this value). |
curl -X GET 'https://api.remi.robot.com/api/v3/points/{id}' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"id": "Qm3LxYtR9vBnKs2FdHjWp",
"external_id": "kitchen-north",
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"partner_id": "V1StGXR8Z5jdHi6BmyT2q",
"name": "North Kitchen",
"description": null,
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"tags": [
"pickup"
]
}
}Update a point
/points/{id}scope deliverySend only the fields you change. tags replaces the pickup and dropoff roles, so omit it to keep them. A point cannot move to another location.
Path parameters
idrequiredstring | Point id, or your external_id with id_type=external. |
Query parameters
id_type'external' | Treat {id} as your external_id. |
Body
latnumber | -90 to 90. |
lngnumber | -180 to 180. |
namestring | |
descriptionstring | |
azimuthinteger | Approach heading in degrees, 0 to 360. 0 to 360. |
external_idstring | Your own id for the point. Must be unique across your points. Generated when omitted. |
tags('pickup' | 'dropoff')[] | The complete set of roles. It replaces the current pickup and dropoff roles, so send every role you want to keep. Up to 20 items. |
Response 200
datarequired |
Errors
| 400 | Invalid body: no field to update, an unknown field (such as location_id), or an empty tags. |
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No point with this id in your partner (by external_id: no point with this value). |
409POINT_EXTERNAL_ID_TAKEN | external_id is already used by another of your points. |
curl -X PATCH 'https://api.remi.robot.com/api/v3/points/{id}' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"tags":["pickup","dropoff"]}'{
"tags": [
"pickup",
"dropoff"
]
}{
"data": {
"id": "Qm3LxYtR9vBnKs2FdHjWp",
"external_id": "kitchen-north",
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"partner_id": "V1StGXR8Z5jdHi6BmyT2q",
"name": "North Kitchen",
"description": null,
"lat": 4.6512,
"lng": -74.0689,
"azimuth": null,
"tags": [
"dropoff",
"pickup"
]
}
}Bots
Status, live telemetry, camera and remote stops of your bots.
List bots
/botsscope deliveryYour bots: assigned to your partner, or with no partner and at one of your locations. Connected bots come first. No telemetry or control.
Response 200
datarequired |
Errors
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
curl -X GET 'https://api.remi.robot.com/api/v3/bots' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": [
{
"id": "4T001",
"commercial_name": "Bot 12",
"available": true,
"can_take_delivery": true,
"availability_status": "available",
"connected": true,
"operational": true,
"autonomy_enabled": true,
"manual_close_door": false,
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"partner_id": "V1StGXR8Z5jdHi6BmyT2q",
"current_action": null,
"current_job_id": null,
"reserved_job_id": null,
"current_target_point_id": null,
"last_connection_event_at": 1781710800000,
"last_operational_event_at": 1781710200000
}
]
}Get a bot
/bots/{id}scope deliveryThe bot with its last telemetry and who controls it. Check recorded_at and connected before trusting a position.
Path parameters
idrequiredstring | Bot id, for example 4T001. |
Response 200
datarequired |
Errors
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No bot with this id among your bots. |
curl -X GET 'https://api.remi.robot.com/api/v3/bots/{id}' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"id": "4T001",
"commercial_name": "Bot 12",
"available": true,
"can_take_delivery": true,
"availability_status": "available",
"connected": true,
"operational": true,
"autonomy_enabled": true,
"manual_close_door": false,
"location_id": "7Nk2QhVpXrLmT4wZaBcDe",
"partner_id": "V1StGXR8Z5jdHi6BmyT2q",
"current_action": null,
"current_job_id": null,
"reserved_job_id": null,
"current_target_point_id": null,
"last_connection_event_at": 1781710800000,
"last_operational_event_at": 1781710200000,
"telemetry": {
"position": {
"lat": 4.6498,
"lng": -74.0712,
"heading": 87.5,
"recorded_at": "2026-06-17T15:41:01.000Z"
},
"battery": {
"percentage": 82,
"charging": false,
"recorded_at": "2026-06-17T15:40:52.000Z"
},
"speed": {
"mps": 0.84,
"recorded_at": "2026-06-17T15:41:00.500Z"
},
"door": {
"status": "closed",
"recorded_at": "2026-06-17T15:40:58.000Z"
}
},
"control": {
"mode": "autonomous",
"since": null
}
}
}Watch a bot live
/bots/{id}/videoscope deliveryReturns a short-lived link to the bot camera, to open or embed. Request one link per viewer. Works with a delivery key for your bots, or a fleet key for the bots of your fleet.
Path parameters
idrequiredstring | Bot id, for example 4T001. |
Response 200
datarequiredobject | |
data.urlrequiredstring | Player link with its own viewing credential. Do not log it. |
data.expires_atrequiredstring (date-time) | Open the link before this time. A player that is already open keeps playing. |
data.liverequiredboolean | False when the camera is not sending now. The player starts when it does. |
Errors
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No bot with this id that your key may watch. |
| 409 | The bot has no live video source. |
| 503 | Live video is temporarily unavailable. Retry later. |
curl -X POST 'https://api.remi.robot.com/api/v3/bots/{id}/video' \
-H "Authorization: Bearer $REMI_API_KEY"{
"data": {
"url": "https://remi.kiwi/live#s=miami&b=4T001&t=eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ2aWV3ZXIifQ.c2lnbmF0dXJl",
"expires_at": "2027-06-17T23:40:00.000Z",
"live": true
}
}Stop a bot
/bots/{id}/stopscope deliveryAsks a bot that is not on a delivery in progress to halt where it is. It does not hold the bot: its next delivery moves it. Not a hardware emergency stop.
Path parameters
idrequiredstring | Bot id, for example 4T001. |
Body (optional)
reasonstring | Optional note. Cut to 200 characters. |
Response 200
datarequiredobject | |
data.bot_idrequiredstring | |
data.stoppedrequiredtrue |
Errors
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No bot with this id among your bots. |
409BOT_OFFLINE | The bot is offline. |
409STOP_NOT_SUPPORTED | This robot cannot be stopped through the API. |
409ACTIVE_DELIVERY | The bot is on a delivery in progress, and a stop would not hold. Pause the delivery instead. params.delivery_id names it when it is yours. |
curl -X POST 'https://api.remi.robot.com/api/v3/bots/{id}/stop' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"reason":"Blocking a door"}'{
"reason": "Blocking a door"
}{
"data": {
"bot_id": "4T001",
"stopped": true
}
}Hard stop a bot
/bots/{id}/hard_stopscope deliverySends the stop our teleoperators use: pressed, then released after one second. It works while the bot is on a delivery (operations is alerted) and does not pause the delivery. Not a hardware emergency stop: in an emergency call operations.
Path parameters
idrequiredstring | Bot id, for example 4T001. |
Body (optional)
reasonstring | Why you stopped it. Operations sees it when the bot is on a delivery. Cut to 200 characters. |
Response 200
datarequiredobject | |
data.bot_idrequiredstring | |
data.hard_stoppedrequiredtrue |
Errors
| 400 | Your partner does not exist yet. Create it with POST /partners. |
| 401 | Missing or invalid API key. |
| 403 | The API key does not have the delivery scope. |
| 404 | No bot with this id among your bots. |
409BOT_OFFLINE | The bot is offline. |
409STOP_NOT_SUPPORTED | This robot cannot take a hard stop through the API. |
curl -X POST 'https://api.remi.robot.com/api/v3/bots/{id}/hard_stop' \
-H "Authorization: Bearer $REMI_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"reason":"Person in the path"}'{
"reason": "Person in the path"
}{
"data": {
"bot_id": "4T001",
"hard_stopped": true
}
}Types
Problem
Fields
typerequiredstring | Always about:blank. |
titlerequiredstring | The HTTP status text. |
statusrequiredinteger | -9007199254740991 to 9007199254740991. |
detailrequiredstring | Human-readable. Do not parse it: branch on code. |
instancerequiredstring | The request path. |
codestring | Stable machine-readable error code, when the error has one. |
paramsRecord<string, unknown> | Values that explain the error, keyed by name. |
Delivery
Fields
idrequiredstring | Delivery id, usually like ES-5867. Treat it as an opaque string. |
namerequiredstring | null | |
draftrequiredboolean | True while a draft. Publish with PATCH and draft: false. |
moderequired'standard' | 'pickup_only' | standard: a bot delivers. pickup_only: the customer picks up, no bot. |
staterequired | |
pausedrequiredboolean | True while on hold. state keeps the leg it was on. |
botrequiredobject | null | The assigned bot. Null before assignment and for pickup-only. |
bot.idrequiredstring | |
bot.latrequirednumber | null | |
bot.lngrequirednumber | null | |
bot.door_statusrequiredstring | null | |
bot.controlrequiredobject | null | Who drives the bot. Set on webhooks only; null on reads. |
bot.control.moderequired'autonomous' | 'teleop_requested' | 'teleop' | autonomous: drives itself. teleop_requested: waiting for an operator. teleop: an operator is driving. |
bot.control.sincerequirednumber | null | Epoch milliseconds when the mode started. Null when autonomous. |
location_idrequiredstring | |
arrivingrequiredboolean | null | True while the bot approaches its current stop. Not the signal to load: wait for at_pickup. |
arriving_atrequiredstring (date-time) | null | Estimated arrival at the current stop. |
optionsrequiredobject | Stored options. tracking is not returned. |
options.botsrequiredstring[] | null | |
options.bot_tagsrequiredstring[] | null | |
options.require_available_botrequiredboolean | |
options.webhook_urlrequiredstring | null | |
options.webhook_headersrequiredRecord<string, string> | null | |
options.return_enabledrequiredboolean | |
options.eta_updatesrequiredboolean | |
external_idrequiredstring | null | |
pickuprequired | |
dropoffrequired | Null for pickup-only. |
return_pointrequired | |
packagesrequired | |
deliver_byrequiredstring (date-time) | null | |
created_atrequiredstring (date-time) | |
metadatarequiredRecord<string, unknown> | null | |
event_typerequiredstring | null | On a webhook, the event that sent it. Null on reads. |
estimatesrequiredobject | |
estimates.distancerequirednumber | null | Meters left. |
estimates.durationrequirednumber | null | Milliseconds of travel left. |
estimates.pickuprequired | |
estimates.dropoffrequired | |
estimates.scheduled_atrequiredstring (date-time) | null | |
estimates.target_completion_atrequiredstring (date-time) | null | |
tracker_urlrequiredstring | null | Tracking page for the recipient. |
scheduledrequiredboolean | |
cancellation_reasonrequiredstring | null | |
incomplete_reasonrequiredstring | null |
DeliveryState
Where the delivery is. Standard: pending → going_to_pickup → at_pickup → going_to_dropoff → at_dropoff → delivered, or going_to_return → at_return → returned. Pickup-only: pending → preparing → ready_for_pickup → picked_up. canceled means someone called it off; failed means it could not be completed.
DeliveryPoint
Fields
idrequiredstring | null | Registered point id, or null when the point was sent as coordinates only. |
namerequiredstring | |
latrequirednumber | |
lngrequirednumber | |
azimuthrequirednumber | null | Approach heading in degrees, 0 to 360. |
contactrequiredobject | null | |
contact.namerequiredstring | null | |
contact.phonerequiredstring | null | |
contact.emailrequiredstring | null | |
matchingrequired{ mode: 'exact', required?: boolean } | { mode: 'snap', radius: number, required?: boolean } | { mode: 'associate', radius: number, required?: boolean } | null | Link coordinates to a registered point. exact: a point within 5 m, use its coordinates. snap: the nearest point within radius meters, use its coordinates. associate: the nearest point within radius meters, keep your coordinates. required: true fails with 400 when none is found. |
DeliveryPackage
Fields
referencerequiredstring | null | Your reference, as sent. |
itemsrequired({ name: string, quantity: number, description: string | null, picture_url: string | null, metadata: Record<string, unknown> | null })[] | null | |
items[].namerequiredstring | |
items[].quantityrequirednumber | |
items[].descriptionrequiredstring | null | |
items[].picture_urlrequiredstring | null | |
items[].metadatarequiredRecord<string, unknown> | null | |
dimensionsrequiredobject | null | Always null today: dimensions are accepted on create but not stored. |
dimensions.lengthrequirednumber | null | |
dimensions.widthrequirednumber | null | |
dimensions.heightrequirednumber | null | |
weightrequirednumber | null | Grams. |
metadatarequiredRecord<string, unknown> | null | |
stationrequiredstring | null | Prep station, trimmed. Send this value back to target the station. |
loadedrequiredboolean | True once this package's pickup load is complete. |
DeliveryNodeEstimate
Fields
arrival_atrequiredstring (date-time) | null | The real arrival once reached, else a projection. Null when unknown. |
completion_atrequiredstring (date-time) | null | When the stop finishes: real once done, else a projection. |
sourcerequired'actual' | 'derived' | null | actual: arrival_at already happened. derived: a projection. |
unknown_reasonrequired'no_route' | 'unpriced_leg' | 'not_departed' | null | Set whenever arrival_at is null. no_route: no bot yet. unpriced_leg: leg not priced yet. not_departed: not on its way yet. |
DeliveryEta
Fields
bot_idrequiredstring | null | The bot the estimate is for. Null until a bot is assigned. |
pickup_etarequiredstring (date-time) | null | |
dropoff_etarequiredstring (date-time) | null |
DeliveryRoute
Fields
sourcerequired'estimated' | 'robot' | Always estimated today. Handle other values. |
mappedrequiredboolean | False when at least one leg is a straight-line estimate. |
computed_atrequiredstring (date-time) | |
position_recorded_atrequiredstring (date-time) | null | When the bot reported the start position. Null before a bot drives it. |
distancerequirednumber | Meters left, travel only. |
durationrequirednumber | Milliseconds left, travel only. |
pointsrequired[number, number][] | [lat, lng] pairs in driving order. Empty at the last stop. |
stopsrequired({ name: 'pickup' | 'dropoff' | 'return', lat: number, lng: number, point_index: number })[] | |
stops[].namerequired'pickup' | 'dropoff' | 'return' | |
stops[].latrequirednumber | |
stops[].lngrequirednumber | |
stops[].point_indexrequirednumber | Index into points of this stop. |
PointAvailability
Fields
availablerequiredboolean | |
last_seen_atstring | Present only when available. |
reasonrequiredenum | One of ok, no_session, no_kds_session, not_engine_mode, reporting_disabled, not_pickup, unknown_point. |
pdsobject | Kitchen-display locations only: the operator tablet. |
pds.availablerequiredboolean | |
pds.last_seen_atstring | |
kdsobject | Kitchen-display locations only: the kitchen board. |
kds.availablerequiredboolean | |
kds.last_seen_atstring | |
point_idrequiredstring | null | |
external_idrequiredstring | null | |
namerequiredstring | null |
Availability
Fields
availablerequiredboolean | |
last_seen_atstring | Present only when available. |
reasonrequiredenum | One of ok, no_session, no_kds_session, not_engine_mode, reporting_disabled, not_pickup, unknown_point. |
pdsobject | Kitchen-display locations only: the operator tablet. |
pds.availablerequiredboolean | |
pds.last_seen_atstring | |
kdsobject | Kitchen-display locations only: the kitchen board. |
kds.availablerequiredboolean | |
kds.last_seen_atstring |
PointInput
Fields
idstring | A registered point. |
external_idstring | A registered point, by your id. |
namestring | |
latnumber | |
lngnumber | |
azimuthinteger | null | Approach heading in degrees. 0 to 360. |
contactobject | null | Contact at this point. On the dropoff, the recipient of tracking messages. |
contact.namestring | null | |
contact.phonestring | null | With country code. Needed for SMS tracking. |
contact.emailstring (email) | null | Needed for email tracking. |
matching{ mode: 'exact', required?: boolean } | { mode: 'snap', radius: number, required?: boolean } | { mode: 'associate', radius: number, required?: boolean } | null | Link coordinates to a registered point. exact: a point within 5 m, use its coordinates. snap: the nearest point within radius meters, use its coordinates. associate: the nearest point within radius meters, keep your coordinates. required: true fails with 400 when none is found. |
PackageInput
Fields
descriptionstring | null | |
picture_urlstring | null | |
referencestring | null | Your reference. Target this package by it when loading. |
items({ name: string, quantity: integer, description?: string | null, picture_url?: string (uri) | null, metadata?: Record<string, unknown> | null })[] | null | |
items[].namerequiredstring | |
items[].quantityrequiredinteger | At most 9007199254740991. |
items[].descriptionstring | null | |
items[].picture_urlstring (uri) | null | |
items[].metadataRecord<string, unknown> | null | |
dimensionsobject | null | |
dimensions.lengthrequirednumber | Length in millimeters |
dimensions.widthrequirednumber | Width in millimeters |
dimensions.heightrequirednumber | Height in millimeters |
weightnumber | null | Grams. |
metadataRecord<string, unknown> | null | |
stationstring | null | Prep station that owns this package (e.g. "Burger Shop"). Create one package per station to enable the PDS station filter. Trimmed; blank is treated as no station; max 50 characters. |
DeliveryOptionsInput
Fields
botsstring[] | null | Pin the delivery to one bot id. |
bot_tagsstring[] | Only bots carrying every tag can take it. Up to 20 items. |
require_available_botboolean | null | Fail with 409 NO_AVAILABLE_BOT instead of waiting when no bot is free. Not with deliver_by. |
webhook_urlstring (uri) | null | Where this delivery's webhooks go. No URL, no webhooks. |
webhook_headersRecord<string, string> | null | Sent with every webhook, for example your auth header. |
return_enabledboolean | null | If canceled after loading, the bot brings the order back to return_point, else to the pickup. |
eta_updatesboolean | null | Also send a node_eta_changed webhook when an arrival time moves. |
trackingobject | null | Text or email the recipient at each step. Needs the matching contact detail. |
tracking.notifyobject | null | |
tracking.notify.smsboolean | null | |
tracking.notify.emailboolean | null |
Partner
Fields
idrequiredstring | |
external_idrequiredstring | Assigned by REMI, starting with ext_. You cannot set it. |
namespacerequiredstring | Taken from your API key. |
namerequiredstring | |
enabledrequiredboolean |
PartnerResponse
Fields
datarequired |
Location
Fields
idrequiredstring | |
external_idrequiredstring | Assigned by REMI, starting with ext_. You cannot set it. |
partner_idrequiredstring | null | |
full_namerequiredstring | |
short_namerequiredstring | |
country_coderequiredstring | |
city_namerequiredstring | null | |
state_namerequiredstring | null | |
time_zonerequiredstring | null | |
enabledrequiredboolean | |
polygonrequiredobject | Operating area. coordinates is a flat list of [lng, lat] pairs, not the nested rings of standard GeoJSON. |
polygon.typerequired'Polygon' | |
polygon.coordinatesrequirednumber[][] | |
availability_intervalsrequiredRecord<string, { isOpen: boolean, openTime: string, closeTime: string }> | null | Opening hours, set by REMI. Null when none are configured. |
LocationResponse
Fields
datarequired |
LocationPaths
Fields
typerequired'FeatureCollection' | |
featuresrequired({ type: 'Feature', geometry: { type: 'LineString', coordinates: [number, number][] }, properties: { id: number | null, kind: 'sidewalk' | 'crossing' | 'driveway' } })[] | |
features[].typerequired'Feature' | |
features[].geometryrequiredobject | |
features[].geometry.typerequired'LineString' | |
features[].geometry.coordinatesrequired[number, number][] | [lng, lat] pairs in drive order. |
features[].propertiesrequiredobject | |
features[].properties.idrequirednumber | null | Id of the way in our map. Null when the map has none. |
features[].properties.kindrequired'sidewalk' | 'crossing' | 'driveway' |
Point
Fields
idrequiredstring | |
external_idrequiredstring | Your external_id, or ext_ followed by 21 characters when you did not set one. |
location_idrequiredstring | |
partner_idrequiredstring | null | |
namerequiredstring | |
descriptionrequiredstring | null | |
latrequirednumber | |
lngrequirednumber | |
azimuthrequirednumber | null | Approach heading in degrees, 0 to 360. |
tagsrequired('pickup' | 'dropoff')[] | Roles of the point, the same values PATCH accepts. REMI may set other roles that are not shown. |
PointResponse
Fields
datarequired |
Bot
Fields
idrequiredstring | |
commercial_namerequiredstring | null | |
availablerequiredboolean | In service. Stays true during a delivery: use can_take_delivery to know whether the bot is free. |
can_take_deliveryrequiredboolean | True when the bot is in service, connected, and free or only on work that a new delivery replaces. |
availability_statusrequiredenum | null | One of available, marketing, maintenance, mapping, off_duty, unknown. |
connectedrequiredboolean | True while the bot is online. |
operationalrequiredboolean | |
autonomy_enabledrequiredboolean | |
manual_close_doorrequiredboolean | |
location_idrequiredstring | null | |
partner_idrequiredstring | null | |
current_actionrequiredenum | null | Deprecated. Always null. One of move, load, activity, unload, finish, panic. |
current_job_idrequiredstring | null | The delivery the bot is serving. Null while it is free or only on work that a new delivery replaces. |
reserved_job_idrequiredstring | null | |
current_target_point_idrequiredstring | null | Deprecated. Always null. |
last_connection_event_atrequirednumber | null | Epoch milliseconds. |
last_operational_event_atrequirednumber | null | Epoch milliseconds. |
BotDetail
Fields
idrequiredstring | |
commercial_namerequiredstring | null | |
availablerequiredboolean | In service. Stays true during a delivery: use can_take_delivery to know whether the bot is free. |
can_take_deliveryrequiredboolean | True when the bot is in service, connected, and free or only on work that a new delivery replaces. |
availability_statusrequiredenum | null | One of available, marketing, maintenance, mapping, off_duty, unknown. |
connectedrequiredboolean | True while the bot is online. |
operationalrequiredboolean | |
autonomy_enabledrequiredboolean | |
manual_close_doorrequiredboolean | |
location_idrequiredstring | null | |
partner_idrequiredstring | null | |
current_actionrequiredenum | null | Deprecated. Always null. One of move, load, activity, unload, finish, panic. |
current_job_idrequiredstring | null | The delivery the bot is serving. Null while it is free or only on work that a new delivery replaces. |
reserved_job_idrequiredstring | null | |
current_target_point_idrequiredstring | null | Deprecated. Always null. |
last_connection_event_atrequirednumber | null | Epoch milliseconds. |
last_operational_event_atrequirednumber | null | Epoch milliseconds. |
telemetryrequired | The last values the robot reported. A group is null when it has not reported it. |
controlrequired | Who drives the bot. Null when it could not be read: retry. |
BotTelemetry
Fields
positionrequiredobject | null | |
position.latrequirednumber | |
position.lngrequirednumber | |
position.headingrequirednumber | null | Compass bearing in degrees: 0 is north, 90 is east. Null when the robot reports none. |
position.recorded_atrequiredstring (date-time) | When the robot measured it, in UTC. |
batteryrequiredobject | null | |
battery.percentagerequirednumber | |
battery.chargingrequiredboolean | null | True while the battery takes current (pad or cable) or a full bot rests on the pad. Null when the robot reports no battery current. |
battery.recorded_atrequiredstring (date-time) | When the robot measured it, in UTC. |
speedrequiredobject | null | Null while the bot is offline. |
speed.mpsrequirednumber | Meters per second, never negative. |
speed.recorded_atrequiredstring (date-time) | When the robot measured it, in UTC. |
doorrequiredobject | null | |
door.statusrequired'opened' | 'closed' | 'opening' | 'closing' | 'stalled' | |
door.recorded_atrequiredstring (date-time) | When the robot measured it, in UTC. |
BotControl
Fields
moderequired'autonomous' | 'teleop_requested' | 'teleop' | autonomous: drives itself. teleop_requested: waiting for an operator. teleop: an operator is driving. |
sincerequirednumber | null | Epoch milliseconds when the mode started. Null when autonomous. |