This documentation describes how to integrate with Pinkbot's production delivery API, covering authentication, endpoints, and operational best practices.
🧑‍💻 API
Our platform exposes RESTful endpoints secured with bearer tokens so you can create, manage, and monitor Pinkbot deliveries directly from your systems.
📲 Customer UX
To provide the end customer (eater) with the necessary UX to unlock the robot and receive their food, Pinkbot will provide their standard SMS/Tracking interface.
đź”’ Robot lid access
Refer to the POST /drive/v2/deliveries/{external_delivery_id}/open-lid operation in the OpenAPI reference for unlock flow details.
Base API Endpoint
Use the following endpoint when creating deliveries:
https://api.pink.bot/v2/deliveries
2. Authentication
For authentication please request a security token from your Pinkbot contact, it will be provided over email.
Every HTTP request must contain Authorization header with the provided security token:
Authorization: 'Bearer ' + token
Notice that you don’t need to generate a JWT token, instead use the provided security token as is.
To receive delivery status updates, you must register a webhook where Pinkbot will submit updates. Simply send your webhook URL to your Pinkbot contact.
Pinkbot sends webhooks for the following events, as soon as the event takes place:
DASHER_CONFIRMED: Pinkbot has accepted your delivery and is on the way to the pickup location.
DASHER_CONFIRMED_PICKUP_ARRIVAL: Pinkbot has confirmed that they arrived at the pickup location and are attempting to pick up the delivery.
DASHER_PICKED_UP: Pinkbot has picked up the delivery.
DASHER_CONFIRMED_DROPOFF_ARRIVAL: Pinkbot has confirmed that they arrived at the dropoff location.
DASHER_DROPPED_OFF: Pinkbot has dropped off the delivery at the dropoff location and the delivery is complete.
Supported subset of JSON payload fields:
external_delivery_id
pickup_address
dropoff_address
dropoff_location
dropoff_phone_number
dropoff_instructions
dropoff_contact_given_name
dropoff_contact_family_name
tip
fee
currency (always “USD”)
tracking_url
dropoff_verification_image_url
dasher_vehicle_make (always “Pinkbot”)
dasher_vehicle_model (always “Geoffrey”)
dasher_vehicle_year (always current year)
dasher_name
dasher_id
event_name (one from the list above)
pickup_time_actual
dropoff_time_actual
updated_at
support_reference
Pinkbot will make 3 retries if webhook call is not successful (HTTP status other than 200 OK).