booking.auth.refresh
View connectorConsume a caller-held Booking refresh token and return new account tokens. Development trial; no provider credentials are stored on the server.
POST /v1/connections/booking/account-refreshHeaders
Authorization: Bearer YOUR_CONNECTOR_TOKEN
Content-Type: application/jsonInputs
| Parameter | Example type | Example value |
|---|---|---|
| refresh_token | string | "YOUR_BOOKING_REFRESH_TOKEN" |
Example input
{
"refresh_token": "YOUR_BOOKING_REFRESH_TOKEN"
}Illustrative response. Keep sealed continuations and account tokens private on your device. Operations use x-booking-token; refresh consumes its separate sealed token.
Example response
{
"access_token": "YOUR_BOOKING_ACCOUNT_TOKEN",
"expires_at_epoch_s": 1790814600,
"refresh_expires_at_epoch_s": 1822350600,
"refresh_token": "YOUR_BOOKING_REFRESH_TOKEN",
"token_type": "Bearer"
}Input schema
{
"additionalProperties": false,
"properties": {
"refresh_token": {
"maxLength": 16384,
"minLength": 1,
"type": "string",
"writeOnly": true,
"x-sensitive": true
}
},
"required": [
"refresh_token"
],
"type": "object"
}