Quickstart Guide
This guide provides a step-by-step approach to integrating with the Riyadh Parking API for operators and developers.Prerequisites
Before getting started, ensure you have the following:-
API Credentials:
Client IDandClient Secretprovided by Riyadh Parking administration. - Development Environment: A backend server to securely make API requests.
- Postman or cURL: For testing API requests before implementation.
Step 1: Authenticate and Get an API Token
To use the API, you need an access token. Send aPOST request to obtain one.
Request:
Response:
Step 2: Check Site Capacity
Retrieve the available parking slots for a given zone.Request:
Response:
Step 3: Validate a Parking Ticket
Verify if a vehicle has an active ticket.Request:
Response:
Step 4: Handle Violations
Report a parking violation by submitting details.Request:
Response:
Next Steps
- Explore Authentication for more security options.
- Check the Full API Reference for more details.