ResendConfirmation
POST
/wink.partner.v1.Booking/ResendConfirmation
const url = 'https://example.com/wink.partner.v1.Booking/ResendConfirmation';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"bookingId":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/wink.partner.v1.Booking/ResendConfirmation \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "bookingId": "example" }'Re-send the traveller’s confirmation email
Side-effecting but not money-moving, and safe to repeat: the traveller receives another copy. No idempotency key for that reason.
Returns NOT_FOUND for an unknown or other-agency booking.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Request for ResendConfirmation.
object
bookingId
string
Examplegenerated
{ "bookingId": "example"}Responses
Section titled “Responses”The RPC completed with gRPC status OK.
Media typeapplication/json
Response for ResendConfirmation.
Wrapped rather than returning a bare bool, so this rpc can gain a field later without a wire break.
object
sent
True when the email was handed to the mail pipeline. It does not promise delivery.
boolean
Examplegenerated
{ "sent": true}