Accept a pending booking request (Airbnb, or through a PMS)
Reservations · POST /v1/reservations/:id/accept
Accept a pending booking request (Airbnb, or through a PMS)
POST
/v1/reservations/:id/acceptNote
Airbnb, for listings connected to Airbnb directly; other channels have no request step (422 channel_not_supported). A request relayed by a connected PMS (Guesty, Hostaway) is answered in that PMS, whatever channel it came from, and the response carries `pms`; a PMS whose API cannot answer requests (Hostaway) is 422 pms_write_unsupported — capabilities.pms.reservations.respond on GET /v1/connect/{provider} says so beforehand (guide: /docs/pms-writes#requests). Takes no body. Find requests with GET /v1/reservations?status=pending. The reservation moves to confirmed when Airbnb's update lands, usually within seconds; reservation.request.updated then fires with requestStatus accepted, and reservation.created for the booking. A reservation that is not a pending request is 409 reservation_not_pending; one Airbnb says already moved on is 409 request_no_longer_pending. Guide: /docs/channels/airbnb/inquiries-and-requests
Request
curl -X POST https://api.repull.dev/v1/reservations/236354/accept \ -H "Authorization: Bearer $REPULL_API_KEY"
Response
{
"reservationId": "236354",
"confirmationCode": "HM9J2MFR3W",
"channel": "airbnb",
"action": "accept",
"status": "accepted",
"declineReason": null
}AI