Skip to content
العربية

Quick start

  1. Create an app. The business owner opens the Open API page in the razza owner portal, creates an app, ticks what it may do, and copies its client ID and secret. The secret is shown once.

  2. Get an access token.

    Terminal window
    curl -s https://api.razza.sa/v1/oauth/token \
    -u "$CLIENT_ID:$CLIENT_SECRET" \
    -d grant_type=client_credentials
  3. Call the API.

    Terminal window
    curl -s "https://api.razza.sa/v1/bookings?date_from=2026-12-01" \
    -H "Authorization: Bearer $ACCESS_TOKEN"