Warden API
  1. Auth
Warden External API
  • Warden External API
  • Auth
    • Credential Refresh
      GET
  • Booking Engine
    • Get Property Listings
      GET
    • Get Bed Availability
      POST
    • Get Room Type Listings
      GET
    • Get Plan Options for Channel and Room Types
      POST
    • Generate Plan for Channel and Room Types
      POST
    • Create Booking
      PUT
  • API
    • Get Company Details
      GET
    • Get Channels
      GET
    • Get Bookings
      GET
    • Get Residents
      GET
    • Get Payments
      GET
    • Get Transactions
      GET
  1. Auth

Credential Refresh

GET
/api/v1/external-app/credential-refresh
Last modified:2026-05-04 13:20:04
Warden uses an OAuth 2.0 strategy to secure all API access.
Use your provided Warden-Id and Warden-Secret as request headers to call this endpoint. These credentials are sensitive and should be kept secret — they are exclusively used to obtain an Access Token and should never be exposed publicly or used in any other API call.
A successful call returns an accessToken which is valid for 15 minutes. Include this token as a Bearer Token in the Authorization header for all subsequent API requests.
Once the token expires, simply call this endpoint again to generate a new one.

Headers Required#

HeaderDescription
Warden-IdYour unique Warden identifier
Warden-SecretYour secret key

Request

Header Params

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://server.wardenera.com/api/v1/external-app/credential-refresh' \
--header 'User-Agent: insomnia/11.4.0' \
--header 'Warden-Id: uE8QB2YK1rnl0MGU' \
--header 'Warden-Secret: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwZXJtaXNzaW9uSWQiOjgwOTEsInVzZXJJZCI6MjUwNiwiaXNzdWVkQXQiOjU5MiwiaWF0IjoxNzc3Nzk1MTQzLCJleHAiOjMzMzM1Mzk1MTQzfQ.IFpM-Mhy6cC-GmqmcVPb9x2WUG9uGGNIoeD9lNj9ti0'
Response Response Example
{
    "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOjI1MDYsInBlcm1pc3Npb25JZCI6ODA5MSwiYWNjZXNzSWQiOjI5ODY1OSwiaXNzdWVkQXQiOjE3Nzc3OTU1OTQsImlhdCI6MTc3Nzc5NTU5NCwiZXhwIjoxNzc3ODgxOTk0fQ.OtzNj1BxTB1XmMCJLjg-H26grUSRAKEvEzsdFR4UkvI",
    "message": "Access Token successfully generated"
}
Modified at 2026-05-04 13:20:04
Previous
Auth
Next
Booking Engine
Built with